Пример #1
0
 static {
   prepareCIF(
       "ChunkDalloc",
       CALL_CONVENTION_DEFAULT,
       CIF,
       ffi_type_uint8,
       ARGS,
       ffi_type_pointer,
       ffi_type_pointer,
       ffi_type_uint8,
       ffi_type_uint32);
 }
 static {
   prepareCIF(
       CALL_CONVENTION_SYSTEM,
       CIF,
       ffi_type_void,
       ARGS,
       ffi_type_uint32,
       ffi_type_uint32,
       ffi_type_uint32,
       ffi_type_uint32,
       ffi_type_sint32,
       ffi_type_pointer,
       ffi_type_pointer);
 }
 static {
   prepareCIF(
       "GLDebugMessageAMDCallback",
       CALL_CONVENTION_SYSTEM,
       CIF,
       ffi_type_void,
       ARGS,
       ffi_type_uint32,
       ffi_type_uint32,
       ffi_type_uint32,
       ffi_type_sint32,
       ffi_type_pointer,
       ffi_type_pointer);
 }