Prev: DLL Entry Points
m Runtime System
The m runtime system defines the interface for a native module to its m process, to access variables and values and to create new ones. It consists of the following classes:
- class Runtime: the interface to the runtime system, consisting of some 50 functions, including the ones adding functions, variables and constants which have already been presented.
- union Runtime::Value: a value (number, string, array, etc.) in m.
- struct Runtime::Array: an (associative) m array.
- struct Runtime::ValueArray: a (non-associative) flat, dynamic array of Runtime::Value.
- struct Runtime::String: an (immutable) m UNICODE® string.
- struct Runtime::NativeObject: a reference to a native (C++ or Symbian) object which is deleted by garbage collection.
They are all declared in file
Runtime.h. Consider
Runtime.h as the reference when writing native
m modules.
Next: m Data Types and Values© 2004-2011 airbit AG, CH-8008 Zürich
Document AB-M-NMI-887