infix
A JIT-Powered FFI Library for C
Loading...
Searching...
No Matches
infix_direct_arg_handler_t Struct Reference

A struct containing all the necessary handlers for a single function argument. More...

#include <infix.h>

Collaboration diagram for infix_direct_arg_handler_t:
[legend]

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.
 

Detailed Description

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.


The documentation for this struct was generated from the following file: