#ifndef RBX_FFI_UTIL_H
#define RBX_FFI_UTIL_H

#define RBX_FFI_TYPE_CHAR        0
#define RBX_FFI_TYPE_UCHAR       1
#define RBX_FFI_TYPE_SHORT       2
#define RBX_FFI_TYPE_USHORT      3
#define RBX_FFI_TYPE_INT         4
#define RBX_FFI_TYPE_UINT        5
#define RBX_FFI_TYPE_LONG        6
#define RBX_FFI_TYPE_ULONG       7
#define RBX_FFI_TYPE_LONG_LONG   8
#define RBX_FFI_TYPE_ULONG_LONG  9
#define RBX_FFI_TYPE_FLOAT      10
#define RBX_FFI_TYPE_DOUBLE     11
#define RBX_FFI_TYPE_PTR        12
#define RBX_FFI_TYPE_VOID       13
#define RBX_FFI_TYPE_STRING     14
#define RBX_FFI_TYPE_STRPTR     15
#define RBX_FFI_TYPE_CHARARR    16
#define RBX_FFI_TYPE_CALLBACK   17
#define RBX_FFI_TYPE_BOOL       18
#define RBX_FFI_TYPE_ENUM       19
#define RBX_FFI_TYPE_VARARGS    20

#endif
