This header-file is part of the ALib C++ Framework.
© 2013-2025 A-Worx GmbH, Germany. Published under Boost Software License.
Definition in file expressions.prepro.hpp.
#include "alib/alib.inl"Go to the source code of this file.
Macros | |
| #define | CALCULUS_CALLBACK(func) |
| #define | CALCULUS_DEFAULT_AUTOCAST nullptr, nullptr |
| #define | CALCULUS_SIGNATURE(BoxPointerArray) |
| #define CALCULUS_CALLBACK | ( | func | ) |
Writes given callback function name func along with a comma (',') and a "stringified" version of the C++ function name.
In release compilations, the macro resolves just to func.
This macro is to be used to define records of types FunctionEntry, OperatorTableEntry and to provide parameters to function AddOperator.
| func | The name of the callback function. |
Definition at line 20 of file expressions.prepro.hpp.
| #define CALCULUS_DEFAULT_AUTOCAST nullptr, nullptr |
This macro is to be used to define records of type AutoCastEntry.
With debug-builds, it provides nullptr for table entries Callback and DbgCallbackName. In release compilations the latter is omitted.
Definition at line 21 of file expressions.prepro.hpp.
| #define CALCULUS_SIGNATURE | ( | BoxPointerArray | ) |
This macro is to be used to define records of type FunctionEntry.
The macro resolves to two values separated by a comma (','). The first is a plain copy of given BoxPointerArray, which has to be a C++ array of pointers to type Box. The second value written will be the array's extent.
| BoxPointerArray | nullptr for identifiers, otherwise the list of argument sample boxes provided as a Box**. |
Definition at line 27 of file expressions.prepro.hpp.