|
infix
A JIT-Powered FFI Library for C
|
A struct containing all the necessary handlers for a single function argument. More...
#include <infix.h>
Public Attributes | |
| infix_marshaller_fn | scalar_marshaller |
| For "in" parameters of a scalar type (int, float, pointer). | |
| infix_aggregate_marshaller_fn | aggregate_marshaller |
| For "in" parameters of an aggregate type (struct, union). | |
| infix_writeback_fn | writeback_handler |
| For "out" or "in-out" parameters. Called after the C function returns. | |
A struct containing all the necessary handlers for a single function argument.
For each argument, a language binding provides an instance of this struct. Based on the argument's type, one or more of the function pointers will be non-NULL.