MeVisLab Toolbox Reference
mlInitSystemML.h File Reference
#include "mlTypeDefs.h"
#include "mlUtilsSystem.h"
#include "mlDataTypes.h"

Go to the source code of this file.

Namespaces

 ml
 Main documentation file for ML users and developers.
 
 ml::library
 

Macros

Symbol export on dll/so interfaces.

Defines system-specific macros for this project/DLL.

Contains initialization specific stuff for the ML. The initialization function is also used for the automatic initialization of DLLs (see mlInitSystemML.cpp)

#define MLEXPORT   ML_LIBRARY_IMPORT_ATTRIBUTE
 To export symbols from a dll/shared object, we need to mark them with the MLEXPORT symbol. More...
 

Functions

void ml::library::init ()
 Initializes the ML, the runtime type system, the memory manager, fields, static buffers, error and debug printings etc. More...
 
void ml::library::destroy ()
 Delete dynamic data structures allocated by init(). More...
 
void ml::library::setupFromEnvironmentVariables ()
 Set ML state dependent on environment variables. More...
 

Macro Definition Documentation

◆ MLEXPORT

#define MLEXPORT   ML_LIBRARY_IMPORT_ATTRIBUTE

To export symbols from a dll/shared object, we need to mark them with the MLEXPORT symbol.

When the ML is compiled then this symbol is coded e.g. on Windows as __declspec(dllexport), if interface stuff is imported by another library the symbol is coded e.g. on windows as __declspec(dllimport) since the compiler switch ML_EXPORTS is not defined. This is used for hiding symbols which shall not be exported. Code it as import symbol if compiled elsewhere.

Definition at line 38 of file mlInitSystemML.h.