11 #if defined(ON_WINDOWS) || defined(ON_UWP) || defined(WIN32) || defined(_WIN64)
14 # define EXPORT_DLL extern "C" __declspec(dllexport)
16 # define EXPORT_DLL __declspec(dllexport)
19 # define EXPORT_CPP_DLL __declspec(dllexport)
31 # define EXPORT_DLL extern "C"
36 # define EXPORT_CPP_DLL
57 #define LOS_MAKE_ABI_VERSION(variant, major, minor, patch) \
58 ((((uint32_t)(variant)) << 29U) | (((uint32_t)(major)) << 22U) | (((uint32_t)(minor)) << 12U) | ((uint32_t)(patch)))
60 #define LOS_ABI_VERSION_1_1 LOS_MAKE_ABI_VERSION(0, 1, 1, 0)
DataType is where data types that are used in the library and for the library API are defined.
#define _out_
out macromatic suger to make headers easier to read
Definition: Defines.h:44
EXPORT_DLL uint32_t libOSABIVersion()
due to some functions may not be avaliable between version this is used tp check at runtime
EXPORT_DLL void losBytesToUnicode(_in_ const char *src, _out_ wchar_t **dest)
converts an byte array to Unicode String
#define EXPORT_DLL
on windows some extra syntax is required for the dll to work properly so that is dose not affect the ...
Definition: Defines.h:33
EXPORT_DLL void libOSCleanUp()
due to some of the platforms that libOS abstracts on some platforms some !!!IMPORTANT!...
#define _in_
in macromatic suger to make headers easier to read
Definition: Defines.h:40
EXPORT_DLL void libOSInit()
due to some of the platforms that libOS abstracts on some platforms some !!!IMPORTANT!...
EXPORT_DLL void losUnicodeToBytes(_in_ const wchar_t *src, _out_ char **dest)
converts Unicode String to an byte array