Pothos
0.7.0-gf7fbae99
The Pothos dataflow programming software suite
|
#include <ciso646>
Go to the source code of this file.
Macros | |
#define | POTHOS_HELPER_DLL_IMPORT |
#define | POTHOS_HELPER_DLL_EXPORT |
#define | POTHOS_HELPER_DLL_LOCAL |
#define | POTHOS_DLL |
#define | POTHOS_API POTHOS_HELPER_DLL_IMPORT |
#define | POTHOS_EXTERN extern |
#define | POTHOS_LOCAL POTHOS_HELPER_DLL_LOCAL |
#define | POTHOS_DEPRECATED(msg) |
#define | POTHOS_FCN_TUPLE(classPath, functionName) #functionName, &classPath::functionName |
Common macro definitions for library API export.
#define POTHOS_API POTHOS_HELPER_DLL_IMPORT |
#define POTHOS_DEPRECATED | ( | msg | ) |
#define POTHOS_DLL |
#define POTHOS_EXTERN extern |
#define POTHOS_FCN_TUPLE | ( | classPath, | |
functionName | |||
) | #functionName, &classPath::functionName |
The function tuple emits a string name + function pointer tuple. This macro simplifies specifying a function name more than once for API calls that take a string name and function pointer.
Example: To simplify this->register("foo", &MyNamespace::MyClass::foo), this->register(POTHOS_FCN_TUPLE(MyNamespace::MyClass, foo));
classPath | the colon separated namespace and class name |
functionName | the name of a function within the specified classPath |
#define POTHOS_HELPER_DLL_EXPORT |
#define POTHOS_HELPER_DLL_IMPORT |
#define POTHOS_HELPER_DLL_LOCAL |
#define POTHOS_LOCAL POTHOS_HELPER_DLL_LOCAL |