| 
    ML Reference
    
   | 
 
Go to the source code of this file.
Namespaces | |
| namespace | ml | 
| Main documentation file for ML users and developers.  | |
| namespace | 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.   | |
Functions | |
| void | ml::library::init () | 
| Initializes the ML, the runtime type system, the memory manager, fields, static buffers, error and debug printings, etc.   | |
| void | ml::library::destroy () | 
| Delete dynamic data structures allocated by init().   | |
| void | ml::library::setupFromEnvironmentVariables () | 
| Sets the ML state dependent on environment variables.   | |
| #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, this symbol is coded, e.g., on Windows as __declspec(dllexport). If interface components are imported by another library, the symbol is coded, for example, 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.