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 short, unsigned short) |
Functions | |
unsigned short | test_func_fn (unsigned short a1, unsigned short a2) |
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 short, unsigned short) |
Definition at line 34 of file cls_multi_ushort.c.
int main | ( | void | ) |
Definition at line 36 of file cls_multi_ushort.c.
References CHECK, ffi_call(), FFI_DEFAULT_ABI, ffi_prep_cif(), ffi_prep_closure_loc(), NULL, test_func_fn(), and test_func_gn().
unsigned short test_func_fn | ( | unsigned short | a1, |
unsigned short | a2 | ||
) |
Definition at line 10 of file cls_multi_ushort.c.
References result.
Referenced by main(), and test_func_gn().
|
static |