Back to index

python3.2  3.2.2
Functions
err_bad_typedef.c File Reference
#include "ffitest.h"

Go to the source code of this file.

Functions

int main (void)

Function Documentation

int main ( void  )

Definition at line 10 of file err_bad_typedef.c.

{
       ffi_cif cif;
       ffi_type* arg_types[1];

       arg_types[0] = NULL;

       ffi_type      badType       = ffi_type_void;

       badType.size = 0;

       CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 0, &badType,
              arg_types) == FFI_BAD_TYPEDEF);

       exit(0);
}

Here is the call graph for this function: