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

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 Documentation

◆ test_type

typedef unsigned short(* test_type) (unsigned short, unsigned short)

Definition at line 34 of file cls_multi_ushort.c.

Function Documentation

◆ main()

int main ( void  )

◆ test_func_fn()

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().

◆ test_func_gn()

static void test_func_gn ( ffi_cif *cif  __UNUSED__,
void *  rval,
void **  avals,
void *data  __UNUSED__ 
)
static

Definition at line 22 of file cls_multi_ushort.c.

References test_func_fn().

Referenced by main().