#include "mlTypeDefs.h"
#include "mlSystemIncludes.h"
#include "mlUtilsSystem.h"
#include "mlDataTypes.h"
#include "mlUtilsSystemC.h"
Go to the source code of this file.
Namespaces | |
| namespace | ml |
Define the namespace name like in the ML. Default is ml. | |
| namespace | std |
| Provide trigonometric etc. | |
Defines | |
Symbol export on dll/so interfaces. | |
| #define | MLEXPORT ML_LIBRARY_IMPORT_ATTRIBUTE |
| To export symbols from a dll/shared object, we need to mark them with the MLEXPORT symbol. | |
Functions | |
| MLEXPORT ostream & | std::operator<< (ostream &ostr, INT64 s) |
| MLEXPORT istream & | std::operator>> (istream &istr, INT64 &s) |
| MLEXPORT ostream & | std::operator<< (ostream &ostr, UINT64 s) |
| MLEXPORT istream & | std::operator>> (istream &istr, UINT64 &s) |
ML initialization and destruction | |
| MLEXPORT MLint32 | ml::initML () |
| Initializes the ML, the runtime type system, the memory manager, fields, static buffers, error and debug printings etc. | |
| MLEXPORT void | ml::destroyML () |
| Delete dynamic data structures allocated by initML. | |
| MLEXPORT void | ml::setMLEnvironment () |
| Set ML state dependent on environment variables. | |
Contains initialization specific stuff for the ML. The initialization function is also used for the automatic initialization of DLLs (see mlInitSystemML.cpp)
Definition in file mlInitSystemML.h.
| #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 35 of file mlInitSystemML.h.
1.5.8