Ruby  2.4.2p198(2017-09-14revision59899)
Typedefs | Functions
closure_simple.c File Reference
#include "ffitest.h"
Include dependency graph for closure_simple.c:

Go to the source code of this file.

Typedefs

typedef int(ABI_ATTRclosure_test_type0) (int, int, int, int)
 

Functions

static void closure_test (ffi_cif *cif __UNUSED__, void *resp, void **args, void *userdata)
 
int main (void)
 

Typedef Documentation

◆ closure_test_type0

typedef int(ABI_ATTR * closure_test_type0) (int, int, int, int)

Definition at line 25 of file closure_simple.c.

Function Documentation

◆ closure_test()

static void closure_test ( ffi_cif *cif  __UNUSED__,
void *  resp,
void **  args,
void *  userdata 
)
static

Definition at line 11 of file closure_simple.c.

Referenced by main().

◆ main()

int main ( void  )

Definition at line 27 of file closure_simple.c.

References ABI_NUM, CHECK, closure_test(), ffi_prep_cif(), ffi_prep_closure_loc(), and NULL.