MeVisLab Toolbox Reference
mlLibraryInitMacros.h File Reference
#include <ThirdPartyWarningsDisable.h>
#include <windows.h>
#include <ThirdPartyWarningsRestore.h>
#include "mlInitSystemML.h"
#include "mlVersion.h"
#include "mlErrorOutput.h"
#include "mlErrorOutputInfos.h"
#include "mlRuntime.h"
#include "mlAPI.h"

Go to the source code of this file.

Macros

#define AFX_STDAFX_H__17533C48_9DB6_4FA8_AEC3_550E71AF7183__INCLUDED_
 ML Macro definitions for library initialization declaring and implementing registration code for the Runtime Type System.
 
#define WIN32_LEAN_AND_MEAN
 
#define ML_LIBRARY_USER_DESTROY_CODE
 This macro is defined but empty in normal cases.
 
#define ML_INIT_LIBRARY_EXT_3(initMethod, NAMESP, LIB_TARGET)
 ML_INIT_LIBRARY_EXT_3 is a macro used to initialize shared libraries independent of the underlying system (WIN32/Unix), the given init method is called as soon as possible after loading the library.
 
#define ML_INIT_LIBRARY(initMethod)    _ML_INIT_LIBRARY_EXT_HELPER(initMethod, ML_UTILS_NAMESPACE, MEVIS_TARGET)
 Standard version used for library initialization of classes within the ML_NAMESPACE or ML_UTILS_NAMESPACE.
 
#define ML_INIT_LIBRARY_EXT(initMethod, NAME_SP)    _ML_INIT_LIBRARY_EXT_HELPER(initMethod, NAME_SP, MEVIS_TARGET)
 Define ML_INIT_LIBRARY_EXT with two arguments.
 
#define _ML_INIT_LIBRARY_EXT_HELPER(initMethod, NAME_SP, LIB_TARGET)    ML_INIT_LIBRARY_EXT_2(initMethod, NAME_SP, LIB_TARGET)
 Internal helper macro for unpacking the LIB_TARGET argument on the correct macro level; not to be used directly, because it is subject to change.
 
#define ML_INIT_LIBRARY_EXT_2(initMethod, NAME_SP, LIB_TARGET)    ML_INIT_LIBRARY_EXT_3(initMethod, NAME_SP, LIB_TARGET)
 Facade macro to disable the library initialization in case of a static ML build.
 

Macro Definition Documentation

◆ AFX_STDAFX_H__17533C48_9DB6_4FA8_AEC3_550E71AF7183__INCLUDED_

#define AFX_STDAFX_H__17533C48_9DB6_4FA8_AEC3_550E71AF7183__INCLUDED_

ML Macro definitions for library initialization declaring and implementing registration code for the Runtime Type System.

See also mlRuntimeType.h, mlRuntime.h and mlRuntimeDict.h. This file defines ML_INIT_LIBRARY(initMethod) macros. Warning disabled: warning 4786: identifier was truncated to 'number' characters in the debug information

Definition at line 29 of file mlLibraryInitMacros.h.

◆ WIN32_LEAN_AND_MEAN

#define WIN32_LEAN_AND_MEAN

Definition at line 36 of file mlLibraryInitMacros.h.