Wolframe, 0.0.3

customDataTypeModuleMacros.hpp File Reference

Macros for defining a custom datatype module. More...

Go to the source code of this file.

Macros

#define WF_CUSTOM_DATATYPE(NAME, CONSTRUCTOR)
 Defines a custom datatype in the CUSTOM_DATATYPE_MODULE section. More...
 

Detailed Description

Macros for defining a custom datatype module.

Macro Definition Documentation

#define WF_CUSTOM_DATATYPE (   NAME,
  CONSTRUCTOR 
)
Value:
{\
struct Constructor\
{\
{\
return new _Wolframe::module::CustomDataTypeBuilder( "CustomDataType_" #NAME, NAME, CONSTRUCTOR);\
}\
};\
(*this)(&Constructor ::impl);\
}
Builder of a custom data type constructor for language bindings.
Definition: customDataTypeBuilder.hpp:93
Definition: moduleInterface.hpp:51

Defines a custom datatype in the CUSTOM_DATATYPE_MODULE section.