Ruby
2.7.2p137(2020-10-01revision5445e0435260b449decf2ac16f9d09bae3cafe72)
|
#include "ffitest.h"
Go to the source code of this file.
Data Structures | |
struct | Dbls |
Typedefs | |
typedef struct Dbls | Dbls |
Functions | |
void | closure_test_fn (Dbls p) |
void | closure_test_gn (ffi_cif *cif __UNUSED__, void *resp __UNUSED__, void **args, void *userdata __UNUSED__) |
int | main (int argc __UNUSED__, char **argv __UNUSED__) |
Definition at line 17 of file cls_dbls_struct.c.
References printf(), Dbls::x, and Dbls::y.
Referenced by closure_test_gn(), and main().
void closure_test_gn | ( | ffi_cif *cif | __UNUSED__, |
void *resp | __UNUSED__, | ||
void ** | args, | ||
void *userdata | __UNUSED__ | ||
) |
Definition at line 23 of file cls_dbls_struct.c.
References closure_test_fn().
Referenced by main().
Definition at line 29 of file cls_dbls_struct.c.
References arg, CHECK, closure_test_fn(), closure_test_gn(), FFI_DEFAULT_ABI, ffi_prep_cif(), ffi_prep_closure_loc(), ffi_type_void, and NULL.