Ruby
2.4.2p198(2017-09-14revision59899)
|
#include "ffitest.h"
Go to the source code of this file.
Typedefs | |
typedef unsigned short(* | test_type) (unsigned char, unsigned short, unsigned char, unsigned short) |
Functions | |
unsigned short | test_func_fn (unsigned char a1, unsigned short a2, unsigned char a3, unsigned short a4) |
static void | test_func_gn (ffi_cif *cif __UNUSED__, void *rval, void **avals, void *data __UNUSED__) |
int | main (void) |
typedef unsigned short(* test_type) (unsigned char, unsigned short, unsigned char, unsigned short) |
Definition at line 38 of file cls_multi_ushortchar.c.
int main | ( | void | ) |
Definition at line 41 of file cls_multi_ushortchar.c.
References CHECK, ffi_call(), FFI_DEFAULT_ABI, ffi_prep_cif(), ffi_prep_closure_loc(), ffi_type_uchar, NULL, test_func_fn(), and test_func_gn().
unsigned short test_func_fn | ( | unsigned char | a1, |
unsigned short | a2, | ||
unsigned char | a3, | ||
unsigned short | a4 | ||
) |
Definition at line 10 of file cls_multi_ushortchar.c.
References result.
Referenced by main(), and test_func_gn().
|
static |
Definition at line 23 of file cls_multi_ushortchar.c.
References test_func_fn().
Referenced by main().