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

Go to the source code of this file.

Data Structures

struct  A
 
struct  B
 

Typedefs

typedef struct A A
 
typedef struct B B
 

Functions

B B_fn (struct A b0, struct B b1)
 
static void B_gn (ffi_cif *cif __UNUSED__, void *resp, void **args, void *userdata __UNUSED__)
 
int main (void)
 

Typedef Documentation

◆ A

typedef struct A A

◆ B

typedef struct B B

Function Documentation

◆ B_fn()

B B_fn ( struct A  b0,
struct B  b1 
)

Definition at line 22 of file nested_struct3.c.

References A::a, A::b, result, B::x, and B::y.

Referenced by B_gn(), and main().

◆ B_gn()

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

Definition at line 38 of file nested_struct3.c.

References B_fn().

Referenced by main().

◆ main()

int main ( void  )