Skip to main content
Version: 21 Aug 2024

ml_version.h

Defines

Name
MLSDK_VERSION_MAJOR
MLSDK_VERSION_MINOR
MLSDK_VERSION_REVISION
MLSDK_VERSION_BUILD_ID
MLSDK_STRINGIFYX(x)
MLSDK_STRINGIFY(x)
MLSDK_VERSION_NAME

Macros Documentation

MLSDK_VERSION_MAJOR

#define MLSDK_VERSION_MAJOR 0

MLSDK_VERSION_MINOR

#define MLSDK_VERSION_MINOR 0

MLSDK_VERSION_REVISION

#define MLSDK_VERSION_REVISION 0

MLSDK_VERSION_BUILD_ID

#define MLSDK_VERSION_BUILD_ID "0"

MLSDK_STRINGIFYX

#define MLSDK_STRINGIFYX(
x
)
MLSDK_STRINGIFY(x)

Parameters

x

MLSDK_STRINGIFY

#define MLSDK_STRINGIFY(
x
)
#x

Parameters

x

MLSDK_VERSION_NAME

#define MLSDK_VERSION_NAME MLSDK_STRINGIFYX(MLSDK_VERSION_MAJOR) \
"." MLSDK_STRINGIFYX(MLSDK_VERSION_MINOR) \
"." MLSDK_STRINGIFYX(MLSDK_VERSION_REVISION) \
"." MLSDK_VERSION_BUILD_ID

Source code

// %BANNER_BEGIN%
// ---------------------------------------------------------------------
// %COPYRIGHT_BEGIN%
// Copyright (c) 2017 Magic Leap, Inc. All Rights Reserved.
// Use of this file is governed by the Software License Agreement,
// located here: https://www.magicleap.com/software-license-agreement-ml2
// Terms and conditions applicable to third-party materials accompanying
// this distribution may also be found in the top-level NOTICE file
// appearing herein.
// %COPYRIGHT_END%
// ---------------------------------------------------------------------
// %BANNER_END%

#pragma once

#define MLSDK_VERSION_MAJOR 0
#define MLSDK_VERSION_MINOR 0
#define MLSDK_VERSION_REVISION 0
#define MLSDK_VERSION_BUILD_ID "0"
#define MLSDK_STRINGIFYX(x) MLSDK_STRINGIFY(x)
#define MLSDK_STRINGIFY(x) #x
#define MLSDK_VERSION_NAME \
MLSDK_STRINGIFYX(MLSDK_VERSION_MAJOR) \
"." MLSDK_STRINGIFYX(MLSDK_VERSION_MINOR) \
"." MLSDK_STRINGIFYX(MLSDK_VERSION_REVISION) \
"." MLSDK_VERSION_BUILD_ID