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

Go to the source code of this file.

Data Structures

struct  A
 
struct  B
 
struct  C
 

Typedefs

typedef struct A A
 
typedef struct B B
 
typedef struct C C
 

Functions

static C C_fn (int x, int y, int z, C source, int i, int j, int k)
 
int main (void)
 

Typedef Documentation

◆ A

typedef struct A A

◆ B

typedef struct B B

◆ C

typedef struct C C

Function Documentation

◆ C_fn()

static C C_fn ( int  x,
int  y,
int  z,
C  source,
int  i,
int  j,
int  k 
)
static

Definition at line 28 of file nested_struct11.c.

References C::a, A::a_x, A::a_y, C::b, B::b_x, B::b_y, and result.

Referenced by main().

◆ main()

int main ( void  )

Definition at line 48 of file nested_struct11.c.

References C::a, A::a_x, A::a_y, C::b, B::b_x, B::b_y, C_fn(), CHECK, ffi_call(), FFI_DEFAULT_ABI, ffi_prep_cif(), and NULL.