ML Reference
|
Defines system-specific macros for this project/DLL. More...
#include "mlTypeDefs.h"
#include "mlSystemIncludes.h"
#include "mlUtilsSystem.h"
#include "mlDataTypes.h"
Go to the source code of this file.
Namespaces | |
namespace | ml |
Define the namespace name like in the ML. Default is | |
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. | |
Stream operations for the MLuint64 type to avoid a number of ambiguous stream operations. | |
Include all non ML includes which shall be available generally. Include general data type support for the ML. | |
#define | _ML_INT64_STREAM_SUPPORT |
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. |
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)
Definition in file mlInitSystemML.h.
#define _ML_INT64_STREAM_SUPPORT |
Definition at line 175 of 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.