|
CX Framework
Cross-platform C utility framework
|
Basic closure functionality. More...
Go to the source code of this file.
Macros | |
| #define | closureCreate(func, ...) _closureCreate(func, count_macro_args(__VA_ARGS__), (stvar[]) { __VA_ARGS__ }) |
| #define | closureCall(cls, ...) _closureCall(cls, count_macro_args(__VA_ARGS__), (stvar[]) { __VA_ARGS__ }) |
Typedefs | |
| typedef struct closure_ref * | closure |
| Opaque handle to a closure. | |
| typedef bool(* | closureFunc) (stvlist *cvars, stvlist *args) |
Functions | |
| closure | closureClone (closure cls) |
| void | closureDestroy (closure *cls) |
Basic closure functionality.
Definition in file closure.h.