exportedfunction.h
Include dependency graph for exportedfunction.h:
This graph shows which files directly or indirectly include exportedfunction.h:
Module exported functions structs and macros.
Structs required to handle both exported/imported NIFs and functions.
Defines
-
TYPEDEF_MODULE
-
EXPORTED_FUNCTION_TO_BIF(func) ((const struct Bif *) (((char *) (func)) - ((unsigned long) &((const struct Bif *) 0)->base)))
-
EXPORTED_FUNCTION_TO_GCBIF(func) ((const struct GCBif *) (((char *) (func)) - ((unsigned long) &((const struct GCBif *) 0)->base)))
-
EXPORTED_FUNCTION_TO_NIF(func) ((const struct Nif *) (((char *) (func)) - ((unsigned long) &((const struct Nif *) 0)->base)))
-
EXPORTED_FUNCTION_TO_UNRESOLVED_FUNCTION_CALL(func) ((struct UnresolvedFunctionCall *) (((char *) (func)) - ((unsigned long) &((struct UnresolvedFunctionCall *) 0)->base)))
-
EXPORTED_FUNCTION_TO_MODULE_FUNCTION(func) ((const struct ModuleFunction *) (((char *) (func)) - ((unsigned long) &((const struct ModuleFunction *) 0)->base)))
Typedefs
Enums
-
struct ExportedFunction
- #include <exportedfunction.h>
Public Members
-
enum FunctionType type
-
enum FunctionType type
-
struct Bif
- #include <exportedfunction.h>
Collaboration diagram for Bif:
-
struct GCBif
- #include <exportedfunction.h>
Collaboration diagram for GCBif:
Public Members
-
struct ExportedFunction base
-
GCBifImpl1 gcbif1_ptr
-
GCBifImpl2 gcbif2_ptr
-
GCBifImpl3 gcbif3_ptr
-
struct ExportedFunction base
-
struct Nif
- #include <exportedfunction.h>
Collaboration diagram for Nif:
-
struct UnresolvedFunctionCall
- #include <exportedfunction.h>
Collaboration diagram for UnresolvedFunctionCall:
Public Members
-
struct ExportedFunction base
-
int module_atom_index
-
int function_atom_index
-
int arity
-
struct ExportedFunction base
-
struct ModuleFunction
- #include <exportedfunction.h>
Collaboration diagram for ModuleFunction: