diff --git a/raylib.lib b/raylib.lib new file mode 100644 index 0000000..d9c42df Binary files /dev/null and b/raylib.lib differ diff --git a/raylib/dynamic/__init__.py b/raylib/dynamic/__init__.py index 0ece52c..fef7c47 100644 --- a/raylib/dynamic/__init__.py +++ b/raylib/dynamic/__init__.py @@ -6,8 +6,8 @@ materials of a model. But now it __seems__ to work import platform # Probably unnecessary, just covering all bases in case people add or remove dlls -MAC_NAMES = ['libraylib.3.0.0.dylib', 'libraylib.301.dylib', 'libraylib.dylib'] -LINUX_NAMES = ['libraylib.so.3.0.0','libraylib.so.3', 'libraylib.so'] +MAC_NAMES = ['libraylib.3.5.0.dylib', 'libraylib.301.dylib', 'libraylib.dylib'] +LINUX_NAMES = ['libraylib.so.3.5.0','libraylib.so.3', 'libraylib.so'] WINDOWS_NAMES = ['libraylib.dll', 'raylib.dll','32bit/raylib.dll', '32bit/libraylib.dll'] if platform.system() == "Darwin": diff --git a/raylib/dynamic/raylib.dll b/raylib/dynamic/raylib.dll index a50f4e9..f16819d 100755 Binary files a/raylib/dynamic/raylib.dll and b/raylib/dynamic/raylib.dll differ diff --git a/raylib/static/_raylib_cffi.c b/raylib/static/_raylib_cffi.c new file mode 100644 index 0000000..6d80fe9 --- /dev/null +++ b/raylib/static/_raylib_cffi.c @@ -0,0 +1,25389 @@ +#define _CFFI_ + +/* We try to define Py_LIMITED_API before including Python.h. + + Mess: we can only define it if Py_DEBUG, Py_TRACE_REFS and + Py_REF_DEBUG are not defined. This is a best-effort approximation: + we can learn about Py_DEBUG from pyconfig.h, but it is unclear if + the same works for the other two macros. Py_DEBUG implies them, + but not the other way around. + + The implementation is messy (issue #350): on Windows, with _MSC_VER, + we have to define Py_LIMITED_API even before including pyconfig.h. + In that case, we guess what pyconfig.h will do to the macros above, + and check our guess after the #include. + + Note that on Windows, with CPython 3.x, you need >= 3.5 and virtualenv + version >= 16.0.0. With older versions of either, you don't get a + copy of PYTHON3.DLL in the virtualenv. We can't check the version of + CPython *before* we even include pyconfig.h. ffi.set_source() puts + a ``#define _CFFI_NO_LIMITED_API'' at the start of this file if it is + running on Windows < 3.5, as an attempt at fixing it, but that's + arguably wrong because it may not be the target version of Python. + Still better than nothing I guess. As another workaround, you can + remove the definition of Py_LIMITED_API here. + + See also 'py_limited_api' in cffi/setuptools_ext.py. +*/ +#if !defined(_CFFI_USE_EMBEDDING) && !defined(Py_LIMITED_API) +# ifdef _MSC_VER +# if !defined(_DEBUG) && !defined(Py_DEBUG) && !defined(Py_TRACE_REFS) && !defined(Py_REF_DEBUG) && !defined(_CFFI_NO_LIMITED_API) +# define Py_LIMITED_API +# endif +# include + /* sanity-check: Py_LIMITED_API will cause crashes if any of these + are also defined. Normally, the Python file PC/pyconfig.h does not + cause any of these to be defined, with the exception that _DEBUG + causes Py_DEBUG. Double-check that. */ +# ifdef Py_LIMITED_API +# if defined(Py_DEBUG) +# error "pyconfig.h unexpectedly defines Py_DEBUG, but Py_LIMITED_API is set" +# endif +# if defined(Py_TRACE_REFS) +# error "pyconfig.h unexpectedly defines Py_TRACE_REFS, but Py_LIMITED_API is set" +# endif +# if defined(Py_REF_DEBUG) +# error "pyconfig.h unexpectedly defines Py_REF_DEBUG, but Py_LIMITED_API is set" +# endif +# endif +# else +# include +# if !defined(Py_DEBUG) && !defined(Py_TRACE_REFS) && !defined(Py_REF_DEBUG) && !defined(_CFFI_NO_LIMITED_API) +# define Py_LIMITED_API +# endif +# endif +#endif + +#include +#ifdef __cplusplus +extern "C" { +#endif +#include + +/* This part is from file 'cffi/parse_c_type.h'. It is copied at the + beginning of C sources generated by CFFI's ffi.set_source(). */ + +typedef void *_cffi_opcode_t; + +#define _CFFI_OP(opcode, arg) (_cffi_opcode_t)(opcode | (((uintptr_t)(arg)) << 8)) +#define _CFFI_GETOP(cffi_opcode) ((unsigned char)(uintptr_t)cffi_opcode) +#define _CFFI_GETARG(cffi_opcode) (((intptr_t)cffi_opcode) >> 8) + +#define _CFFI_OP_PRIMITIVE 1 +#define _CFFI_OP_POINTER 3 +#define _CFFI_OP_ARRAY 5 +#define _CFFI_OP_OPEN_ARRAY 7 +#define _CFFI_OP_STRUCT_UNION 9 +#define _CFFI_OP_ENUM 11 +#define _CFFI_OP_FUNCTION 13 +#define _CFFI_OP_FUNCTION_END 15 +#define _CFFI_OP_NOOP 17 +#define _CFFI_OP_BITFIELD 19 +#define _CFFI_OP_TYPENAME 21 +#define _CFFI_OP_CPYTHON_BLTN_V 23 // varargs +#define _CFFI_OP_CPYTHON_BLTN_N 25 // noargs +#define _CFFI_OP_CPYTHON_BLTN_O 27 // O (i.e. a single arg) +#define _CFFI_OP_CONSTANT 29 +#define _CFFI_OP_CONSTANT_INT 31 +#define _CFFI_OP_GLOBAL_VAR 33 +#define _CFFI_OP_DLOPEN_FUNC 35 +#define _CFFI_OP_DLOPEN_CONST 37 +#define _CFFI_OP_GLOBAL_VAR_F 39 +#define _CFFI_OP_EXTERN_PYTHON 41 + +#define _CFFI_PRIM_VOID 0 +#define _CFFI_PRIM_BOOL 1 +#define _CFFI_PRIM_CHAR 2 +#define _CFFI_PRIM_SCHAR 3 +#define _CFFI_PRIM_UCHAR 4 +#define _CFFI_PRIM_SHORT 5 +#define _CFFI_PRIM_USHORT 6 +#define _CFFI_PRIM_INT 7 +#define _CFFI_PRIM_UINT 8 +#define _CFFI_PRIM_LONG 9 +#define _CFFI_PRIM_ULONG 10 +#define _CFFI_PRIM_LONGLONG 11 +#define _CFFI_PRIM_ULONGLONG 12 +#define _CFFI_PRIM_FLOAT 13 +#define _CFFI_PRIM_DOUBLE 14 +#define _CFFI_PRIM_LONGDOUBLE 15 + +#define _CFFI_PRIM_WCHAR 16 +#define _CFFI_PRIM_INT8 17 +#define _CFFI_PRIM_UINT8 18 +#define _CFFI_PRIM_INT16 19 +#define _CFFI_PRIM_UINT16 20 +#define _CFFI_PRIM_INT32 21 +#define _CFFI_PRIM_UINT32 22 +#define _CFFI_PRIM_INT64 23 +#define _CFFI_PRIM_UINT64 24 +#define _CFFI_PRIM_INTPTR 25 +#define _CFFI_PRIM_UINTPTR 26 +#define _CFFI_PRIM_PTRDIFF 27 +#define _CFFI_PRIM_SIZE 28 +#define _CFFI_PRIM_SSIZE 29 +#define _CFFI_PRIM_INT_LEAST8 30 +#define _CFFI_PRIM_UINT_LEAST8 31 +#define _CFFI_PRIM_INT_LEAST16 32 +#define _CFFI_PRIM_UINT_LEAST16 33 +#define _CFFI_PRIM_INT_LEAST32 34 +#define _CFFI_PRIM_UINT_LEAST32 35 +#define _CFFI_PRIM_INT_LEAST64 36 +#define _CFFI_PRIM_UINT_LEAST64 37 +#define _CFFI_PRIM_INT_FAST8 38 +#define _CFFI_PRIM_UINT_FAST8 39 +#define _CFFI_PRIM_INT_FAST16 40 +#define _CFFI_PRIM_UINT_FAST16 41 +#define _CFFI_PRIM_INT_FAST32 42 +#define _CFFI_PRIM_UINT_FAST32 43 +#define _CFFI_PRIM_INT_FAST64 44 +#define _CFFI_PRIM_UINT_FAST64 45 +#define _CFFI_PRIM_INTMAX 46 +#define _CFFI_PRIM_UINTMAX 47 +#define _CFFI_PRIM_FLOATCOMPLEX 48 +#define _CFFI_PRIM_DOUBLECOMPLEX 49 +#define _CFFI_PRIM_CHAR16 50 +#define _CFFI_PRIM_CHAR32 51 + +#define _CFFI__NUM_PRIM 52 +#define _CFFI__UNKNOWN_PRIM (-1) +#define _CFFI__UNKNOWN_FLOAT_PRIM (-2) +#define _CFFI__UNKNOWN_LONG_DOUBLE (-3) + +#define _CFFI__IO_FILE_STRUCT (-1) + + +struct _cffi_global_s { + const char *name; + void *address; + _cffi_opcode_t type_op; + void *size_or_direct_fn; // OP_GLOBAL_VAR: size, or 0 if unknown + // OP_CPYTHON_BLTN_*: addr of direct function +}; + +struct _cffi_getconst_s { + unsigned long long value; + const struct _cffi_type_context_s *ctx; + int gindex; +}; + +struct _cffi_struct_union_s { + const char *name; + int type_index; // -> _cffi_types, on a OP_STRUCT_UNION + int flags; // _CFFI_F_* flags below + size_t size; + int alignment; + int first_field_index; // -> _cffi_fields array + int num_fields; +}; +#define _CFFI_F_UNION 0x01 // is a union, not a struct +#define _CFFI_F_CHECK_FIELDS 0x02 // complain if fields are not in the + // "standard layout" or if some are missing +#define _CFFI_F_PACKED 0x04 // for CHECK_FIELDS, assume a packed struct +#define _CFFI_F_EXTERNAL 0x08 // in some other ffi.include() +#define _CFFI_F_OPAQUE 0x10 // opaque + +struct _cffi_field_s { + const char *name; + size_t field_offset; + size_t field_size; + _cffi_opcode_t field_type_op; +}; + +struct _cffi_enum_s { + const char *name; + int type_index; // -> _cffi_types, on a OP_ENUM + int type_prim; // _CFFI_PRIM_xxx + const char *enumerators; // comma-delimited string +}; + +struct _cffi_typename_s { + const char *name; + int type_index; /* if opaque, points to a possibly artificial + OP_STRUCT which is itself opaque */ +}; + +struct _cffi_type_context_s { + _cffi_opcode_t *types; + const struct _cffi_global_s *globals; + const struct _cffi_field_s *fields; + const struct _cffi_struct_union_s *struct_unions; + const struct _cffi_enum_s *enums; + const struct _cffi_typename_s *typenames; + int num_globals; + int num_struct_unions; + int num_enums; + int num_typenames; + const char *const *includes; + int num_types; + int flags; /* future extension */ +}; + +struct _cffi_parse_info_s { + const struct _cffi_type_context_s *ctx; + _cffi_opcode_t *output; + unsigned int output_size; + size_t error_location; + const char *error_message; +}; + +struct _cffi_externpy_s { + const char *name; + size_t size_of_result; + void *reserved1, *reserved2; +}; + +#ifdef _CFFI_INTERNAL +static int parse_c_type(struct _cffi_parse_info_s *info, const char *input); +static int search_in_globals(const struct _cffi_type_context_s *ctx, + const char *search, size_t search_len); +static int search_in_struct_unions(const struct _cffi_type_context_s *ctx, + const char *search, size_t search_len); +#endif + +/* this block of #ifs should be kept exactly identical between + c/_cffi_backend.c, cffi/vengine_cpy.py, cffi/vengine_gen.py + and cffi/_cffi_include.h */ +#if defined(_MSC_VER) +# include /* for alloca() */ +# if _MSC_VER < 1600 /* MSVC < 2010 */ + typedef __int8 int8_t; + typedef __int16 int16_t; + typedef __int32 int32_t; + typedef __int64 int64_t; + typedef unsigned __int8 uint8_t; + typedef unsigned __int16 uint16_t; + typedef unsigned __int32 uint32_t; + typedef unsigned __int64 uint64_t; + typedef __int8 int_least8_t; + typedef __int16 int_least16_t; + typedef __int32 int_least32_t; + typedef __int64 int_least64_t; + typedef unsigned __int8 uint_least8_t; + typedef unsigned __int16 uint_least16_t; + typedef unsigned __int32 uint_least32_t; + typedef unsigned __int64 uint_least64_t; + typedef __int8 int_fast8_t; + typedef __int16 int_fast16_t; + typedef __int32 int_fast32_t; + typedef __int64 int_fast64_t; + typedef unsigned __int8 uint_fast8_t; + typedef unsigned __int16 uint_fast16_t; + typedef unsigned __int32 uint_fast32_t; + typedef unsigned __int64 uint_fast64_t; + typedef __int64 intmax_t; + typedef unsigned __int64 uintmax_t; +# else +# include +# endif +# if _MSC_VER < 1800 /* MSVC < 2013 */ +# ifndef __cplusplus + typedef unsigned char _Bool; +# endif +# endif +#else +# include +# if (defined (__SVR4) && defined (__sun)) || defined(_AIX) || defined(__hpux) +# include +# endif +#endif + +#ifdef __GNUC__ +# define _CFFI_UNUSED_FN __attribute__((unused)) +#else +# define _CFFI_UNUSED_FN /* nothing */ +#endif + +#ifdef __cplusplus +# ifndef _Bool + typedef bool _Bool; /* semi-hackish: C++ has no _Bool; bool is builtin */ +# endif +#endif + +/********** CPython-specific section **********/ +#ifndef PYPY_VERSION + + +#if PY_MAJOR_VERSION >= 3 +# define PyInt_FromLong PyLong_FromLong +#endif + +#define _cffi_from_c_double PyFloat_FromDouble +#define _cffi_from_c_float PyFloat_FromDouble +#define _cffi_from_c_long PyInt_FromLong +#define _cffi_from_c_ulong PyLong_FromUnsignedLong +#define _cffi_from_c_longlong PyLong_FromLongLong +#define _cffi_from_c_ulonglong PyLong_FromUnsignedLongLong +#define _cffi_from_c__Bool PyBool_FromLong + +#define _cffi_to_c_double PyFloat_AsDouble +#define _cffi_to_c_float PyFloat_AsDouble + +#define _cffi_from_c_int(x, type) \ + (((type)-1) > 0 ? /* unsigned */ \ + (sizeof(type) < sizeof(long) ? \ + PyInt_FromLong((long)x) : \ + sizeof(type) == sizeof(long) ? \ + PyLong_FromUnsignedLong((unsigned long)x) : \ + PyLong_FromUnsignedLongLong((unsigned long long)x)) : \ + (sizeof(type) <= sizeof(long) ? \ + PyInt_FromLong((long)x) : \ + PyLong_FromLongLong((long long)x))) + +#define _cffi_to_c_int(o, type) \ + ((type)( \ + sizeof(type) == 1 ? (((type)-1) > 0 ? (type)_cffi_to_c_u8(o) \ + : (type)_cffi_to_c_i8(o)) : \ + sizeof(type) == 2 ? (((type)-1) > 0 ? (type)_cffi_to_c_u16(o) \ + : (type)_cffi_to_c_i16(o)) : \ + sizeof(type) == 4 ? (((type)-1) > 0 ? (type)_cffi_to_c_u32(o) \ + : (type)_cffi_to_c_i32(o)) : \ + sizeof(type) == 8 ? (((type)-1) > 0 ? (type)_cffi_to_c_u64(o) \ + : (type)_cffi_to_c_i64(o)) : \ + (Py_FatalError("unsupported size for type " #type), (type)0))) + +#define _cffi_to_c_i8 \ + ((int(*)(PyObject *))_cffi_exports[1]) +#define _cffi_to_c_u8 \ + ((int(*)(PyObject *))_cffi_exports[2]) +#define _cffi_to_c_i16 \ + ((int(*)(PyObject *))_cffi_exports[3]) +#define _cffi_to_c_u16 \ + ((int(*)(PyObject *))_cffi_exports[4]) +#define _cffi_to_c_i32 \ + ((int(*)(PyObject *))_cffi_exports[5]) +#define _cffi_to_c_u32 \ + ((unsigned int(*)(PyObject *))_cffi_exports[6]) +#define _cffi_to_c_i64 \ + ((long long(*)(PyObject *))_cffi_exports[7]) +#define _cffi_to_c_u64 \ + ((unsigned long long(*)(PyObject *))_cffi_exports[8]) +#define _cffi_to_c_char \ + ((int(*)(PyObject *))_cffi_exports[9]) +#define _cffi_from_c_pointer \ + ((PyObject *(*)(char *, struct _cffi_ctypedescr *))_cffi_exports[10]) +#define _cffi_to_c_pointer \ + ((char *(*)(PyObject *, struct _cffi_ctypedescr *))_cffi_exports[11]) +#define _cffi_get_struct_layout \ + not used any more +#define _cffi_restore_errno \ + ((void(*)(void))_cffi_exports[13]) +#define _cffi_save_errno \ + ((void(*)(void))_cffi_exports[14]) +#define _cffi_from_c_char \ + ((PyObject *(*)(char))_cffi_exports[15]) +#define _cffi_from_c_deref \ + ((PyObject *(*)(char *, struct _cffi_ctypedescr *))_cffi_exports[16]) +#define _cffi_to_c \ + ((int(*)(char *, struct _cffi_ctypedescr *, PyObject *))_cffi_exports[17]) +#define _cffi_from_c_struct \ + ((PyObject *(*)(char *, struct _cffi_ctypedescr *))_cffi_exports[18]) +#define _cffi_to_c_wchar_t \ + ((_cffi_wchar_t(*)(PyObject *))_cffi_exports[19]) +#define _cffi_from_c_wchar_t \ + ((PyObject *(*)(_cffi_wchar_t))_cffi_exports[20]) +#define _cffi_to_c_long_double \ + ((long double(*)(PyObject *))_cffi_exports[21]) +#define _cffi_to_c__Bool \ + ((_Bool(*)(PyObject *))_cffi_exports[22]) +#define _cffi_prepare_pointer_call_argument \ + ((Py_ssize_t(*)(struct _cffi_ctypedescr *, \ + PyObject *, char **))_cffi_exports[23]) +#define _cffi_convert_array_from_object \ + ((int(*)(char *, struct _cffi_ctypedescr *, PyObject *))_cffi_exports[24]) +#define _CFFI_CPIDX 25 +#define _cffi_call_python \ + ((void(*)(struct _cffi_externpy_s *, char *))_cffi_exports[_CFFI_CPIDX]) +#define _cffi_to_c_wchar3216_t \ + ((int(*)(PyObject *))_cffi_exports[26]) +#define _cffi_from_c_wchar3216_t \ + ((PyObject *(*)(int))_cffi_exports[27]) +#define _CFFI_NUM_EXPORTS 28 + +struct _cffi_ctypedescr; + +static void *_cffi_exports[_CFFI_NUM_EXPORTS]; + +#define _cffi_type(index) ( \ + assert((((uintptr_t)_cffi_types[index]) & 1) == 0), \ + (struct _cffi_ctypedescr *)_cffi_types[index]) + +static PyObject *_cffi_init(const char *module_name, Py_ssize_t version, + const struct _cffi_type_context_s *ctx) +{ + PyObject *module, *o_arg, *new_module; + void *raw[] = { + (void *)module_name, + (void *)version, + (void *)_cffi_exports, + (void *)ctx, + }; + + module = PyImport_ImportModule("_cffi_backend"); + if (module == NULL) + goto failure; + + o_arg = PyLong_FromVoidPtr((void *)raw); + if (o_arg == NULL) + goto failure; + + new_module = PyObject_CallMethod( + module, (char *)"_init_cffi_1_0_external_module", (char *)"O", o_arg); + + Py_DECREF(o_arg); + Py_DECREF(module); + return new_module; + + failure: + Py_XDECREF(module); + return NULL; +} + + +#ifdef HAVE_WCHAR_H +typedef wchar_t _cffi_wchar_t; +#else +typedef uint16_t _cffi_wchar_t; /* same random pick as _cffi_backend.c */ +#endif + +_CFFI_UNUSED_FN static uint16_t _cffi_to_c_char16_t(PyObject *o) +{ + if (sizeof(_cffi_wchar_t) == 2) + return (uint16_t)_cffi_to_c_wchar_t(o); + else + return (uint16_t)_cffi_to_c_wchar3216_t(o); +} + +_CFFI_UNUSED_FN static PyObject *_cffi_from_c_char16_t(uint16_t x) +{ + if (sizeof(_cffi_wchar_t) == 2) + return _cffi_from_c_wchar_t((_cffi_wchar_t)x); + else + return _cffi_from_c_wchar3216_t((int)x); +} + +_CFFI_UNUSED_FN static int _cffi_to_c_char32_t(PyObject *o) +{ + if (sizeof(_cffi_wchar_t) == 4) + return (int)_cffi_to_c_wchar_t(o); + else + return (int)_cffi_to_c_wchar3216_t(o); +} + +_CFFI_UNUSED_FN static PyObject *_cffi_from_c_char32_t(unsigned int x) +{ + if (sizeof(_cffi_wchar_t) == 4) + return _cffi_from_c_wchar_t((_cffi_wchar_t)x); + else + return _cffi_from_c_wchar3216_t((int)x); +} + +union _cffi_union_alignment_u { + unsigned char m_char; + unsigned short m_short; + unsigned int m_int; + unsigned long m_long; + unsigned long long m_longlong; + float m_float; + double m_double; + long double m_longdouble; +}; + +struct _cffi_freeme_s { + struct _cffi_freeme_s *next; + union _cffi_union_alignment_u alignment; +}; + +_CFFI_UNUSED_FN static int +_cffi_convert_array_argument(struct _cffi_ctypedescr *ctptr, PyObject *arg, + char **output_data, Py_ssize_t datasize, + struct _cffi_freeme_s **freeme) +{ + char *p; + if (datasize < 0) + return -1; + + p = *output_data; + if (p == NULL) { + struct _cffi_freeme_s *fp = (struct _cffi_freeme_s *)PyObject_Malloc( + offsetof(struct _cffi_freeme_s, alignment) + (size_t)datasize); + if (fp == NULL) + return -1; + fp->next = *freeme; + *freeme = fp; + p = *output_data = (char *)&fp->alignment; + } + memset((void *)p, 0, (size_t)datasize); + return _cffi_convert_array_from_object(p, ctptr, arg); +} + +_CFFI_UNUSED_FN static void +_cffi_free_array_arguments(struct _cffi_freeme_s *freeme) +{ + do { + void *p = (void *)freeme; + freeme = freeme->next; + PyObject_Free(p); + } while (freeme != NULL); +} + +/********** end CPython-specific section **********/ +#else +_CFFI_UNUSED_FN +static void (*_cffi_call_python_org)(struct _cffi_externpy_s *, char *); +# define _cffi_call_python _cffi_call_python_org +#endif + + +#define _cffi_array_len(array) (sizeof(array) / sizeof((array)[0])) + +#define _cffi_prim_int(size, sign) \ + ((size) == 1 ? ((sign) ? _CFFI_PRIM_INT8 : _CFFI_PRIM_UINT8) : \ + (size) == 2 ? ((sign) ? _CFFI_PRIM_INT16 : _CFFI_PRIM_UINT16) : \ + (size) == 4 ? ((sign) ? _CFFI_PRIM_INT32 : _CFFI_PRIM_UINT32) : \ + (size) == 8 ? ((sign) ? _CFFI_PRIM_INT64 : _CFFI_PRIM_UINT64) : \ + _CFFI__UNKNOWN_PRIM) + +#define _cffi_prim_float(size) \ + ((size) == sizeof(float) ? _CFFI_PRIM_FLOAT : \ + (size) == sizeof(double) ? _CFFI_PRIM_DOUBLE : \ + (size) == sizeof(long double) ? _CFFI__UNKNOWN_LONG_DOUBLE : \ + _CFFI__UNKNOWN_FLOAT_PRIM) + +#define _cffi_check_int(got, got_nonpos, expected) \ + ((got_nonpos) == (expected <= 0) && \ + (got) == (unsigned long long)expected) + +#ifdef MS_WIN32 +# define _cffi_stdcall __stdcall +#else +# define _cffi_stdcall /* nothing */ +#endif + +#ifdef __cplusplus +} +#endif + +/************************************************************/ + + + #include "../../../raylib/raylib.h" + + +/************************************************************/ + +static void *_cffi_types[] = { +/* 0 */ _CFFI_OP(_CFFI_OP_FUNCTION, 398), // AudioStream()(unsigned int, unsigned int, unsigned int) +/* 1 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 8), // unsigned int +/* 2 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 8), +/* 3 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 8), +/* 4 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 5 */ _CFFI_OP(_CFFI_OP_FUNCTION, 401), // BoundingBox()(Mesh) +/* 6 */ _CFFI_OP(_CFFI_OP_STRUCT_UNION, 12), // Mesh +/* 7 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 8 */ _CFFI_OP(_CFFI_OP_FUNCTION, 622), // CharInfo *()(unsigned char const *, int, int, int *, int, int) +/* 9 */ _CFFI_OP(_CFFI_OP_POINTER, 1341), // unsigned char const * +/* 10 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), // int +/* 11 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 12 */ _CFFI_OP(_CFFI_OP_POINTER, 10), // int * +/* 13 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 14 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 15 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 16 */ _CFFI_OP(_CFFI_OP_FUNCTION, 626), // Color *()(Image) +/* 17 */ _CFFI_OP(_CFFI_OP_STRUCT_UNION, 8), // Image +/* 18 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 19 */ _CFFI_OP(_CFFI_OP_FUNCTION, 626), // Color *()(Image, int, int *) +/* 20 */ _CFFI_OP(_CFFI_OP_NOOP, 17), +/* 21 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 22 */ _CFFI_OP(_CFFI_OP_NOOP, 12), +/* 23 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 24 */ _CFFI_OP(_CFFI_OP_FUNCTION, 25), // Color()(Color, Color, Color) +/* 25 */ _CFFI_OP(_CFFI_OP_STRUCT_UNION, 6), // Color +/* 26 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 27 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 28 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 29 */ _CFFI_OP(_CFFI_OP_FUNCTION, 25), // Color()(Color, float) +/* 30 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 31 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), // float +/* 32 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 33 */ _CFFI_OP(_CFFI_OP_FUNCTION, 25), // Color()(Vector4) +/* 34 */ _CFFI_OP(_CFFI_OP_STRUCT_UNION, 27), // Vector4 +/* 35 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 36 */ _CFFI_OP(_CFFI_OP_FUNCTION, 25), // Color()(float, float, float) +/* 37 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 38 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 39 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 40 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 41 */ _CFFI_OP(_CFFI_OP_FUNCTION, 25), // Color()(int) +/* 42 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 43 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 44 */ _CFFI_OP(_CFFI_OP_FUNCTION, 25), // Color()(void *, int) +/* 45 */ _CFFI_OP(_CFFI_OP_POINTER, 1345), // void * +/* 46 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 47 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 48 */ _CFFI_OP(_CFFI_OP_FUNCTION, 81), // Font()(Image, Color, int) +/* 49 */ _CFFI_OP(_CFFI_OP_NOOP, 17), +/* 50 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 51 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 52 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 53 */ _CFFI_OP(_CFFI_OP_FUNCTION, 81), // Font()(char const *) +/* 54 */ _CFFI_OP(_CFFI_OP_POINTER, 351), // char const * +/* 55 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 56 */ _CFFI_OP(_CFFI_OP_FUNCTION, 81), // Font()(char const *, int, int *, int) +/* 57 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 58 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 59 */ _CFFI_OP(_CFFI_OP_NOOP, 12), +/* 60 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 61 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 62 */ _CFFI_OP(_CFFI_OP_FUNCTION, 81), // Font()(char const *, unsigned char const *, int, int, int *, int) +/* 63 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 64 */ _CFFI_OP(_CFFI_OP_NOOP, 9), +/* 65 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 66 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 67 */ _CFFI_OP(_CFFI_OP_NOOP, 12), +/* 68 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 69 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 70 */ _CFFI_OP(_CFFI_OP_FUNCTION, 81), // Font()(void) +/* 71 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 72 */ _CFFI_OP(_CFFI_OP_FUNCTION, 17), // Image()(CharInfo const *, Rectangle * *, int, int, int, int) +/* 73 */ _CFFI_OP(_CFFI_OP_POINTER, 1302), // CharInfo const * +/* 74 */ _CFFI_OP(_CFFI_OP_POINTER, 1320), // Rectangle * * +/* 75 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 76 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 77 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 78 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 79 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 80 */ _CFFI_OP(_CFFI_OP_FUNCTION, 17), // Image()(Font, char const *, float, float, Color) +/* 81 */ _CFFI_OP(_CFFI_OP_STRUCT_UNION, 7), // Font +/* 82 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 83 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 84 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 85 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 86 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 87 */ _CFFI_OP(_CFFI_OP_FUNCTION, 17), // Image()(Image) +/* 88 */ _CFFI_OP(_CFFI_OP_NOOP, 17), +/* 89 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 90 */ _CFFI_OP(_CFFI_OP_FUNCTION, 17), // Image()(Image, Rectangle) +/* 91 */ _CFFI_OP(_CFFI_OP_NOOP, 17), +/* 92 */ _CFFI_OP(_CFFI_OP_STRUCT_UNION, 19), // Rectangle +/* 93 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 94 */ _CFFI_OP(_CFFI_OP_FUNCTION, 17), // Image()(Texture) +/* 95 */ _CFFI_OP(_CFFI_OP_STRUCT_UNION, 23), // Texture +/* 96 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 97 */ _CFFI_OP(_CFFI_OP_FUNCTION, 17), // Image()(char const *) +/* 98 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 99 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 100 */ _CFFI_OP(_CFFI_OP_FUNCTION, 17), // Image()(char const *, int *) +/* 101 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 102 */ _CFFI_OP(_CFFI_OP_NOOP, 12), +/* 103 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 104 */ _CFFI_OP(_CFFI_OP_FUNCTION, 17), // Image()(char const *, int, Color) +/* 105 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 106 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 107 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 108 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 109 */ _CFFI_OP(_CFFI_OP_FUNCTION, 17), // Image()(char const *, int, int, int, int) +/* 110 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 111 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 112 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 113 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 114 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 115 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 116 */ _CFFI_OP(_CFFI_OP_FUNCTION, 17), // Image()(char const *, unsigned char const *, int) +/* 117 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 118 */ _CFFI_OP(_CFFI_OP_NOOP, 9), +/* 119 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 120 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 121 */ _CFFI_OP(_CFFI_OP_FUNCTION, 17), // Image()(int, int, Color) +/* 122 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 123 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 124 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 125 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 126 */ _CFFI_OP(_CFFI_OP_FUNCTION, 17), // Image()(int, int, Color, Color) +/* 127 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 128 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 129 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 130 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 131 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 132 */ _CFFI_OP(_CFFI_OP_FUNCTION, 17), // Image()(int, int, float) +/* 133 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 134 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 135 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 136 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 137 */ _CFFI_OP(_CFFI_OP_FUNCTION, 17), // Image()(int, int, float, Color, Color) +/* 138 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 139 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 140 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 141 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 142 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 143 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 144 */ _CFFI_OP(_CFFI_OP_FUNCTION, 17), // Image()(int, int, int) +/* 145 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 146 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 147 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 148 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 149 */ _CFFI_OP(_CFFI_OP_FUNCTION, 17), // Image()(int, int, int, int, Color, Color) +/* 150 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 151 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 152 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 153 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 154 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 155 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 156 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 157 */ _CFFI_OP(_CFFI_OP_FUNCTION, 17), // Image()(int, int, int, int, float) +/* 158 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 159 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 160 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 161 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 162 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 163 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 164 */ _CFFI_OP(_CFFI_OP_FUNCTION, 17), // Image()(void) +/* 165 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 166 */ _CFFI_OP(_CFFI_OP_FUNCTION, 793), // Material *()(char const *, int *) +/* 167 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 168 */ _CFFI_OP(_CFFI_OP_NOOP, 12), +/* 169 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 170 */ _CFFI_OP(_CFFI_OP_FUNCTION, 798), // Material()(void) +/* 171 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 172 */ _CFFI_OP(_CFFI_OP_FUNCTION, 232), // Matrix()(Camera2D) +/* 173 */ _CFFI_OP(_CFFI_OP_STRUCT_UNION, 3), // Camera2D +/* 174 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 175 */ _CFFI_OP(_CFFI_OP_FUNCTION, 232), // Matrix()(Camera3D) +/* 176 */ _CFFI_OP(_CFFI_OP_STRUCT_UNION, 4), // Camera3D +/* 177 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 178 */ _CFFI_OP(_CFFI_OP_FUNCTION, 6), // Mesh()(Image, Vector3) +/* 179 */ _CFFI_OP(_CFFI_OP_NOOP, 17), +/* 180 */ _CFFI_OP(_CFFI_OP_STRUCT_UNION, 26), // Vector3 +/* 181 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 182 */ _CFFI_OP(_CFFI_OP_FUNCTION, 6), // Mesh()(float, float, float) +/* 183 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 184 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 185 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 186 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 187 */ _CFFI_OP(_CFFI_OP_FUNCTION, 6), // Mesh()(float, float, int) +/* 188 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 189 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 190 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 191 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 192 */ _CFFI_OP(_CFFI_OP_FUNCTION, 6), // Mesh()(float, float, int, int) +/* 193 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 194 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 195 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 196 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 197 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 198 */ _CFFI_OP(_CFFI_OP_FUNCTION, 6), // Mesh()(float, int, int) +/* 199 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 200 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 201 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 202 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 203 */ _CFFI_OP(_CFFI_OP_FUNCTION, 6), // Mesh()(int, float) +/* 204 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 205 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 206 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 207 */ _CFFI_OP(_CFFI_OP_FUNCTION, 236), // Model()(Mesh) +/* 208 */ _CFFI_OP(_CFFI_OP_NOOP, 6), +/* 209 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 210 */ _CFFI_OP(_CFFI_OP_FUNCTION, 236), // Model()(char const *) +/* 211 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 212 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 213 */ _CFFI_OP(_CFFI_OP_FUNCTION, 856), // ModelAnimation *()(char const *, int *) +/* 214 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 215 */ _CFFI_OP(_CFFI_OP_NOOP, 12), +/* 216 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 217 */ _CFFI_OP(_CFFI_OP_FUNCTION, 385), // Music()(char const *) +/* 218 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 219 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 220 */ _CFFI_OP(_CFFI_OP_FUNCTION, 385), // Music()(char const *, unsigned char *, int) +/* 221 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 222 */ _CFFI_OP(_CFFI_OP_POINTER, 1341), // unsigned char * +/* 223 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 224 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 225 */ _CFFI_OP(_CFFI_OP_FUNCTION, 230), // Ray()(Vector2, Camera3D) +/* 226 */ _CFFI_OP(_CFFI_OP_STRUCT_UNION, 25), // Vector2 +/* 227 */ _CFFI_OP(_CFFI_OP_NOOP, 176), +/* 228 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 229 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1319), // RayHitInfo()(Ray, Mesh, Matrix) +/* 230 */ _CFFI_OP(_CFFI_OP_STRUCT_UNION, 17), // Ray +/* 231 */ _CFFI_OP(_CFFI_OP_NOOP, 6), +/* 232 */ _CFFI_OP(_CFFI_OP_STRUCT_UNION, 11), // Matrix +/* 233 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 234 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1319), // RayHitInfo()(Ray, Model) +/* 235 */ _CFFI_OP(_CFFI_OP_NOOP, 230), +/* 236 */ _CFFI_OP(_CFFI_OP_STRUCT_UNION, 13), // Model +/* 237 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 238 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1319), // RayHitInfo()(Ray, Vector3, Vector3, Vector3) +/* 239 */ _CFFI_OP(_CFFI_OP_NOOP, 230), +/* 240 */ _CFFI_OP(_CFFI_OP_NOOP, 180), +/* 241 */ _CFFI_OP(_CFFI_OP_NOOP, 180), +/* 242 */ _CFFI_OP(_CFFI_OP_NOOP, 180), +/* 243 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 244 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1319), // RayHitInfo()(Ray, float) +/* 245 */ _CFFI_OP(_CFFI_OP_NOOP, 230), +/* 246 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 247 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 248 */ _CFFI_OP(_CFFI_OP_FUNCTION, 92), // Rectangle()(Image, float) +/* 249 */ _CFFI_OP(_CFFI_OP_NOOP, 17), +/* 250 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 251 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 252 */ _CFFI_OP(_CFFI_OP_FUNCTION, 92), // Rectangle()(Rectangle, Rectangle) +/* 253 */ _CFFI_OP(_CFFI_OP_NOOP, 92), +/* 254 */ _CFFI_OP(_CFFI_OP_NOOP, 92), +/* 255 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 256 */ _CFFI_OP(_CFFI_OP_FUNCTION, 909), // RenderTexture()(int, int) +/* 257 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 258 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 259 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 260 */ _CFFI_OP(_CFFI_OP_FUNCTION, 451), // Shader()(char const *, char const *) +/* 261 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 262 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 263 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 264 */ _CFFI_OP(_CFFI_OP_FUNCTION, 455), // Sound()(Wave) +/* 265 */ _CFFI_OP(_CFFI_OP_STRUCT_UNION, 30), // Wave +/* 266 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 267 */ _CFFI_OP(_CFFI_OP_FUNCTION, 455), // Sound()(char const *) +/* 268 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 269 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 270 */ _CFFI_OP(_CFFI_OP_FUNCTION, 95), // Texture()(Image) +/* 271 */ _CFFI_OP(_CFFI_OP_NOOP, 17), +/* 272 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 273 */ _CFFI_OP(_CFFI_OP_FUNCTION, 95), // Texture()(Image, int) +/* 274 */ _CFFI_OP(_CFFI_OP_NOOP, 17), +/* 275 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 276 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 277 */ _CFFI_OP(_CFFI_OP_FUNCTION, 95), // Texture()(char const *) +/* 278 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 279 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 280 */ _CFFI_OP(_CFFI_OP_FUNCTION, 226), // Vector2()(Font, char const *, float, float) +/* 281 */ _CFFI_OP(_CFFI_OP_NOOP, 81), +/* 282 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 283 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 284 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 285 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 286 */ _CFFI_OP(_CFFI_OP_FUNCTION, 226), // Vector2()(Vector2, Camera2D) +/* 287 */ _CFFI_OP(_CFFI_OP_NOOP, 226), +/* 288 */ _CFFI_OP(_CFFI_OP_NOOP, 173), +/* 289 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 290 */ _CFFI_OP(_CFFI_OP_FUNCTION, 226), // Vector2()(Vector3, Camera3D) +/* 291 */ _CFFI_OP(_CFFI_OP_NOOP, 180), +/* 292 */ _CFFI_OP(_CFFI_OP_NOOP, 176), +/* 293 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 294 */ _CFFI_OP(_CFFI_OP_FUNCTION, 226), // Vector2()(Vector3, Camera3D, int, int) +/* 295 */ _CFFI_OP(_CFFI_OP_NOOP, 180), +/* 296 */ _CFFI_OP(_CFFI_OP_NOOP, 176), +/* 297 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 298 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 299 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 300 */ _CFFI_OP(_CFFI_OP_FUNCTION, 226), // Vector2()(int) +/* 301 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 302 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 303 */ _CFFI_OP(_CFFI_OP_FUNCTION, 226), // Vector2()(void) +/* 304 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 305 */ _CFFI_OP(_CFFI_OP_FUNCTION, 180), // Vector3()(Color) +/* 306 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 307 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 308 */ _CFFI_OP(_CFFI_OP_FUNCTION, 34), // Vector4()(Color) +/* 309 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 310 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 311 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1166), // VrStereoConfig()(VrDeviceInfo) +/* 312 */ _CFFI_OP(_CFFI_OP_STRUCT_UNION, 28), // VrDeviceInfo +/* 313 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 314 */ _CFFI_OP(_CFFI_OP_FUNCTION, 265), // Wave()(Wave) +/* 315 */ _CFFI_OP(_CFFI_OP_NOOP, 265), +/* 316 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 317 */ _CFFI_OP(_CFFI_OP_FUNCTION, 265), // Wave()(char const *) +/* 318 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 319 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 320 */ _CFFI_OP(_CFFI_OP_FUNCTION, 265), // Wave()(char const *, unsigned char const *, int) +/* 321 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 322 */ _CFFI_OP(_CFFI_OP_NOOP, 9), +/* 323 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 324 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 325 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1329), // char * *()(char const *, int *) +/* 326 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 327 */ _CFFI_OP(_CFFI_OP_NOOP, 12), +/* 328 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 329 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1329), // char * *()(int *) +/* 330 */ _CFFI_OP(_CFFI_OP_NOOP, 12), +/* 331 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 332 */ _CFFI_OP(_CFFI_OP_FUNCTION, 333), // char *()(char *, char const *, char const *) +/* 333 */ _CFFI_OP(_CFFI_OP_POINTER, 351), // char * +/* 334 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 335 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 336 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 337 */ _CFFI_OP(_CFFI_OP_FUNCTION, 333), // char *()(char const *) +/* 338 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 339 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 340 */ _CFFI_OP(_CFFI_OP_FUNCTION, 333), // char *()(char const *, char const *, int) +/* 341 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 342 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 343 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 344 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 345 */ _CFFI_OP(_CFFI_OP_FUNCTION, 333), // char *()(int *, int) +/* 346 */ _CFFI_OP(_CFFI_OP_NOOP, 12), +/* 347 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 348 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 349 */ _CFFI_OP(_CFFI_OP_FUNCTION, 355), // char const * *()(char const *, char, int *) +/* 350 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 351 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 2), // char +/* 352 */ _CFFI_OP(_CFFI_OP_NOOP, 12), +/* 353 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 354 */ _CFFI_OP(_CFFI_OP_FUNCTION, 54), // char const *()(char const * *, int, char const *) +/* 355 */ _CFFI_OP(_CFFI_OP_POINTER, 54), // char const * * +/* 356 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 357 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 358 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 359 */ _CFFI_OP(_CFFI_OP_FUNCTION, 54), // char const *()(char const *) +/* 360 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 361 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 362 */ _CFFI_OP(_CFFI_OP_FUNCTION, 54), // char const *()(char const *, ...) +/* 363 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 364 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 1), +/* 365 */ _CFFI_OP(_CFFI_OP_FUNCTION, 54), // char const *()(char const *, int, int) +/* 366 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 367 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 368 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 369 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 370 */ _CFFI_OP(_CFFI_OP_FUNCTION, 54), // char const *()(int) +/* 371 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 372 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 373 */ _CFFI_OP(_CFFI_OP_FUNCTION, 54), // char const *()(int, int *) +/* 374 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 375 */ _CFFI_OP(_CFFI_OP_NOOP, 12), +/* 376 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 377 */ _CFFI_OP(_CFFI_OP_FUNCTION, 54), // char const *()(void) +/* 378 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 379 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1333), // double()(void) +/* 380 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 381 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1198), // float *()(Wave) +/* 382 */ _CFFI_OP(_CFFI_OP_NOOP, 265), +/* 383 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 384 */ _CFFI_OP(_CFFI_OP_FUNCTION, 31), // float()(Music) +/* 385 */ _CFFI_OP(_CFFI_OP_STRUCT_UNION, 15), // Music +/* 386 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 387 */ _CFFI_OP(_CFFI_OP_FUNCTION, 31), // float()(int, int) +/* 388 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 389 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 390 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 391 */ _CFFI_OP(_CFFI_OP_FUNCTION, 31), // float()(void) +/* 392 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 393 */ _CFFI_OP(_CFFI_OP_FUNCTION, 12), // int *()(char const *, int *) +/* 394 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 395 */ _CFFI_OP(_CFFI_OP_NOOP, 12), +/* 396 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 397 */ _CFFI_OP(_CFFI_OP_FUNCTION, 10), // int()(AudioStream) +/* 398 */ _CFFI_OP(_CFFI_OP_STRUCT_UNION, 0), // AudioStream +/* 399 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 400 */ _CFFI_OP(_CFFI_OP_FUNCTION, 10), // int()(BoundingBox, BoundingBox) +/* 401 */ _CFFI_OP(_CFFI_OP_STRUCT_UNION, 2), // BoundingBox +/* 402 */ _CFFI_OP(_CFFI_OP_NOOP, 401), +/* 403 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 404 */ _CFFI_OP(_CFFI_OP_FUNCTION, 10), // int()(BoundingBox, Vector3, float) +/* 405 */ _CFFI_OP(_CFFI_OP_NOOP, 401), +/* 406 */ _CFFI_OP(_CFFI_OP_NOOP, 180), +/* 407 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 408 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 409 */ _CFFI_OP(_CFFI_OP_FUNCTION, 10), // int()(Color) +/* 410 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 411 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 412 */ _CFFI_OP(_CFFI_OP_FUNCTION, 10), // int()(Font, int) +/* 413 */ _CFFI_OP(_CFFI_OP_NOOP, 81), +/* 414 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 415 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 416 */ _CFFI_OP(_CFFI_OP_FUNCTION, 10), // int()(Image, char const *) +/* 417 */ _CFFI_OP(_CFFI_OP_NOOP, 17), +/* 418 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 419 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 420 */ _CFFI_OP(_CFFI_OP_FUNCTION, 10), // int()(Mesh, char const *) +/* 421 */ _CFFI_OP(_CFFI_OP_NOOP, 6), +/* 422 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 423 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 424 */ _CFFI_OP(_CFFI_OP_FUNCTION, 10), // int()(Model, ModelAnimation) +/* 425 */ _CFFI_OP(_CFFI_OP_NOOP, 236), +/* 426 */ _CFFI_OP(_CFFI_OP_STRUCT_UNION, 14), // ModelAnimation +/* 427 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 428 */ _CFFI_OP(_CFFI_OP_FUNCTION, 10), // int()(Music) +/* 429 */ _CFFI_OP(_CFFI_OP_NOOP, 385), +/* 430 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 431 */ _CFFI_OP(_CFFI_OP_FUNCTION, 10), // int()(Ray, BoundingBox) +/* 432 */ _CFFI_OP(_CFFI_OP_NOOP, 230), +/* 433 */ _CFFI_OP(_CFFI_OP_NOOP, 401), +/* 434 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 435 */ _CFFI_OP(_CFFI_OP_FUNCTION, 10), // int()(Ray, Vector3, float) +/* 436 */ _CFFI_OP(_CFFI_OP_NOOP, 230), +/* 437 */ _CFFI_OP(_CFFI_OP_NOOP, 180), +/* 438 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 439 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 440 */ _CFFI_OP(_CFFI_OP_FUNCTION, 10), // int()(Ray, Vector3, float, Vector3 *) +/* 441 */ _CFFI_OP(_CFFI_OP_NOOP, 230), +/* 442 */ _CFFI_OP(_CFFI_OP_NOOP, 180), +/* 443 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 444 */ _CFFI_OP(_CFFI_OP_POINTER, 180), // Vector3 * +/* 445 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 446 */ _CFFI_OP(_CFFI_OP_FUNCTION, 10), // int()(Rectangle, Rectangle) +/* 447 */ _CFFI_OP(_CFFI_OP_NOOP, 92), +/* 448 */ _CFFI_OP(_CFFI_OP_NOOP, 92), +/* 449 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 450 */ _CFFI_OP(_CFFI_OP_FUNCTION, 10), // int()(Shader, char const *) +/* 451 */ _CFFI_OP(_CFFI_OP_STRUCT_UNION, 21), // Shader +/* 452 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 453 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 454 */ _CFFI_OP(_CFFI_OP_FUNCTION, 10), // int()(Sound) +/* 455 */ _CFFI_OP(_CFFI_OP_STRUCT_UNION, 22), // Sound +/* 456 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 457 */ _CFFI_OP(_CFFI_OP_FUNCTION, 10), // int()(Vector2, Rectangle) +/* 458 */ _CFFI_OP(_CFFI_OP_NOOP, 226), +/* 459 */ _CFFI_OP(_CFFI_OP_NOOP, 92), +/* 460 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 461 */ _CFFI_OP(_CFFI_OP_FUNCTION, 10), // int()(Vector2, Vector2, Vector2, Vector2) +/* 462 */ _CFFI_OP(_CFFI_OP_NOOP, 226), +/* 463 */ _CFFI_OP(_CFFI_OP_NOOP, 226), +/* 464 */ _CFFI_OP(_CFFI_OP_NOOP, 226), +/* 465 */ _CFFI_OP(_CFFI_OP_NOOP, 226), +/* 466 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 467 */ _CFFI_OP(_CFFI_OP_FUNCTION, 10), // int()(Vector2, Vector2, Vector2, Vector2, Vector2 *) +/* 468 */ _CFFI_OP(_CFFI_OP_NOOP, 226), +/* 469 */ _CFFI_OP(_CFFI_OP_NOOP, 226), +/* 470 */ _CFFI_OP(_CFFI_OP_NOOP, 226), +/* 471 */ _CFFI_OP(_CFFI_OP_NOOP, 226), +/* 472 */ _CFFI_OP(_CFFI_OP_POINTER, 226), // Vector2 * +/* 473 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 474 */ _CFFI_OP(_CFFI_OP_FUNCTION, 10), // int()(Vector2, Vector2, float) +/* 475 */ _CFFI_OP(_CFFI_OP_NOOP, 226), +/* 476 */ _CFFI_OP(_CFFI_OP_NOOP, 226), +/* 477 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 478 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 479 */ _CFFI_OP(_CFFI_OP_FUNCTION, 10), // int()(Vector2, float, Rectangle) +/* 480 */ _CFFI_OP(_CFFI_OP_NOOP, 226), +/* 481 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 482 */ _CFFI_OP(_CFFI_OP_NOOP, 92), +/* 483 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 484 */ _CFFI_OP(_CFFI_OP_FUNCTION, 10), // int()(Vector2, float, Vector2, float) +/* 485 */ _CFFI_OP(_CFFI_OP_NOOP, 226), +/* 486 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 487 */ _CFFI_OP(_CFFI_OP_NOOP, 226), +/* 488 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 489 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 490 */ _CFFI_OP(_CFFI_OP_FUNCTION, 10), // int()(Vector3, float, Vector3, float) +/* 491 */ _CFFI_OP(_CFFI_OP_NOOP, 180), +/* 492 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 493 */ _CFFI_OP(_CFFI_OP_NOOP, 180), +/* 494 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 495 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 496 */ _CFFI_OP(_CFFI_OP_FUNCTION, 10), // int()(Wave, char const *) +/* 497 */ _CFFI_OP(_CFFI_OP_NOOP, 265), +/* 498 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 499 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 500 */ _CFFI_OP(_CFFI_OP_FUNCTION, 10), // int()(char *, char const *) +/* 501 */ _CFFI_OP(_CFFI_OP_NOOP, 333), +/* 502 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 503 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 504 */ _CFFI_OP(_CFFI_OP_FUNCTION, 10), // int()(char const *) +/* 505 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 506 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 507 */ _CFFI_OP(_CFFI_OP_FUNCTION, 10), // int()(char const *, char *) +/* 508 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 509 */ _CFFI_OP(_CFFI_OP_NOOP, 333), +/* 510 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 511 */ _CFFI_OP(_CFFI_OP_FUNCTION, 10), // int()(char const *, char const *) +/* 512 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 513 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 514 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 515 */ _CFFI_OP(_CFFI_OP_FUNCTION, 10), // int()(char const *, int *) +/* 516 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 517 */ _CFFI_OP(_CFFI_OP_NOOP, 12), +/* 518 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 519 */ _CFFI_OP(_CFFI_OP_FUNCTION, 10), // int()(char const *, int) +/* 520 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 521 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 522 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 523 */ _CFFI_OP(_CFFI_OP_FUNCTION, 10), // int()(char const *, void *, unsigned int) +/* 524 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 525 */ _CFFI_OP(_CFFI_OP_NOOP, 45), +/* 526 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 8), +/* 527 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 528 */ _CFFI_OP(_CFFI_OP_FUNCTION, 10), // int()(int) +/* 529 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 530 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 531 */ _CFFI_OP(_CFFI_OP_FUNCTION, 10), // int()(int, char const *) +/* 532 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 533 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 534 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 535 */ _CFFI_OP(_CFFI_OP_FUNCTION, 10), // int()(int, int) +/* 536 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 537 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 538 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 539 */ _CFFI_OP(_CFFI_OP_FUNCTION, 10), // int()(int, int, int) +/* 540 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 541 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 542 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 543 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 544 */ _CFFI_OP(_CFFI_OP_FUNCTION, 10), // int()(unsigned int) +/* 545 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 8), +/* 546 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 547 */ _CFFI_OP(_CFFI_OP_FUNCTION, 10), // int()(unsigned int, int) +/* 548 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 8), +/* 549 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 550 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 551 */ _CFFI_OP(_CFFI_OP_FUNCTION, 10), // int()(void) +/* 552 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 553 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1338), // long()(char const *) +/* 554 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 555 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 556 */ _CFFI_OP(_CFFI_OP_FUNCTION, 222), // unsigned char *()(char const *, unsigned int *) +/* 557 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 558 */ _CFFI_OP(_CFFI_OP_POINTER, 1), // unsigned int * +/* 559 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 560 */ _CFFI_OP(_CFFI_OP_FUNCTION, 222), // unsigned char *()(unsigned char *, int, int *) +/* 561 */ _CFFI_OP(_CFFI_OP_NOOP, 222), +/* 562 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 563 */ _CFFI_OP(_CFFI_OP_NOOP, 12), +/* 564 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 565 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1), // unsigned int()(char const *) +/* 566 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 567 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 568 */ _CFFI_OP(_CFFI_OP_FUNCTION, 45), // void *()(int) +/* 569 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 570 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 571 */ _CFFI_OP(_CFFI_OP_FUNCTION, 45), // void *()(void *, int) +/* 572 */ _CFFI_OP(_CFFI_OP_NOOP, 45), +/* 573 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 574 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 575 */ _CFFI_OP(_CFFI_OP_FUNCTION, 45), // void *()(void) +/* 576 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 577 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(AudioStream) +/* 578 */ _CFFI_OP(_CFFI_OP_NOOP, 398), +/* 579 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 580 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(AudioStream, float) +/* 581 */ _CFFI_OP(_CFFI_OP_NOOP, 398), +/* 582 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 583 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 584 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(AudioStream, void const *, int) +/* 585 */ _CFFI_OP(_CFFI_OP_NOOP, 398), +/* 586 */ _CFFI_OP(_CFFI_OP_POINTER, 1345), // void const * +/* 587 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 588 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 589 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(BoundingBox, Color) +/* 590 */ _CFFI_OP(_CFFI_OP_NOOP, 401), +/* 591 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 592 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 593 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Camera2D) +/* 594 */ _CFFI_OP(_CFFI_OP_NOOP, 173), +/* 595 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 596 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Camera3D *) +/* 597 */ _CFFI_OP(_CFFI_OP_POINTER, 176), // Camera3D * +/* 598 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 599 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Camera3D) +/* 600 */ _CFFI_OP(_CFFI_OP_NOOP, 176), +/* 601 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 602 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Camera3D, Texture, Rectangle, Vector3, float, Color) +/* 603 */ _CFFI_OP(_CFFI_OP_NOOP, 176), +/* 604 */ _CFFI_OP(_CFFI_OP_NOOP, 95), +/* 605 */ _CFFI_OP(_CFFI_OP_NOOP, 92), +/* 606 */ _CFFI_OP(_CFFI_OP_NOOP, 180), +/* 607 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 608 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 609 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 610 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Camera3D, Texture, Vector3, float, Color) +/* 611 */ _CFFI_OP(_CFFI_OP_NOOP, 176), +/* 612 */ _CFFI_OP(_CFFI_OP_NOOP, 95), +/* 613 */ _CFFI_OP(_CFFI_OP_NOOP, 180), +/* 614 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 615 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 616 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 617 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Camera3D, int) +/* 618 */ _CFFI_OP(_CFFI_OP_NOOP, 176), +/* 619 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 620 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 621 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(CharInfo *, int) +/* 622 */ _CFFI_OP(_CFFI_OP_POINTER, 1302), // CharInfo * +/* 623 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 624 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 625 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Color *) +/* 626 */ _CFFI_OP(_CFFI_OP_POINTER, 25), // Color * +/* 627 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 628 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Color) +/* 629 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 630 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 631 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Font) +/* 632 */ _CFFI_OP(_CFFI_OP_NOOP, 81), +/* 633 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 634 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Font, char const *, Rectangle, float, float, int, Color) +/* 635 */ _CFFI_OP(_CFFI_OP_NOOP, 81), +/* 636 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 637 */ _CFFI_OP(_CFFI_OP_NOOP, 92), +/* 638 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 639 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 640 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 641 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 642 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 643 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Font, char const *, Rectangle, float, float, int, Color, int, int, Color, Color) +/* 644 */ _CFFI_OP(_CFFI_OP_NOOP, 81), +/* 645 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 646 */ _CFFI_OP(_CFFI_OP_NOOP, 92), +/* 647 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 648 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 649 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 650 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 651 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 652 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 653 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 654 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 655 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 656 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Font, char const *, Vector2, float, float, Color) +/* 657 */ _CFFI_OP(_CFFI_OP_NOOP, 81), +/* 658 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 659 */ _CFFI_OP(_CFFI_OP_NOOP, 226), +/* 660 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 661 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 662 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 663 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 664 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Font, int, Vector2, float, Color) +/* 665 */ _CFFI_OP(_CFFI_OP_NOOP, 81), +/* 666 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 667 */ _CFFI_OP(_CFFI_OP_NOOP, 226), +/* 668 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 669 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 670 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 671 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Image *) +/* 672 */ _CFFI_OP(_CFFI_OP_POINTER, 17), // Image * +/* 673 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 674 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Image *, Color) +/* 675 */ _CFFI_OP(_CFFI_OP_NOOP, 672), +/* 676 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 677 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 678 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Image *, Color, Color) +/* 679 */ _CFFI_OP(_CFFI_OP_NOOP, 672), +/* 680 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 681 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 682 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 683 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Image *, Color, float) +/* 684 */ _CFFI_OP(_CFFI_OP_NOOP, 672), +/* 685 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 686 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 687 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 688 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Image *, Font, char const *, Vector2, float, float, Color) +/* 689 */ _CFFI_OP(_CFFI_OP_NOOP, 672), +/* 690 */ _CFFI_OP(_CFFI_OP_NOOP, 81), +/* 691 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 692 */ _CFFI_OP(_CFFI_OP_NOOP, 226), +/* 693 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 694 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 695 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 696 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 697 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Image *, Image) +/* 698 */ _CFFI_OP(_CFFI_OP_NOOP, 672), +/* 699 */ _CFFI_OP(_CFFI_OP_NOOP, 17), +/* 700 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 701 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Image *, Image, Rectangle, Rectangle, Color) +/* 702 */ _CFFI_OP(_CFFI_OP_NOOP, 672), +/* 703 */ _CFFI_OP(_CFFI_OP_NOOP, 17), +/* 704 */ _CFFI_OP(_CFFI_OP_NOOP, 92), +/* 705 */ _CFFI_OP(_CFFI_OP_NOOP, 92), +/* 706 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 707 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 708 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Image *, Rectangle) +/* 709 */ _CFFI_OP(_CFFI_OP_NOOP, 672), +/* 710 */ _CFFI_OP(_CFFI_OP_NOOP, 92), +/* 711 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 712 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Image *, Rectangle, Color) +/* 713 */ _CFFI_OP(_CFFI_OP_NOOP, 672), +/* 714 */ _CFFI_OP(_CFFI_OP_NOOP, 92), +/* 715 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 716 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 717 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Image *, Rectangle, int, Color) +/* 718 */ _CFFI_OP(_CFFI_OP_NOOP, 672), +/* 719 */ _CFFI_OP(_CFFI_OP_NOOP, 92), +/* 720 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 721 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 722 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 723 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Image *, Vector2, Color) +/* 724 */ _CFFI_OP(_CFFI_OP_NOOP, 672), +/* 725 */ _CFFI_OP(_CFFI_OP_NOOP, 226), +/* 726 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 727 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 728 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Image *, Vector2, Vector2, Color) +/* 729 */ _CFFI_OP(_CFFI_OP_NOOP, 672), +/* 730 */ _CFFI_OP(_CFFI_OP_NOOP, 226), +/* 731 */ _CFFI_OP(_CFFI_OP_NOOP, 226), +/* 732 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 733 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 734 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Image *, Vector2, int, Color) +/* 735 */ _CFFI_OP(_CFFI_OP_NOOP, 672), +/* 736 */ _CFFI_OP(_CFFI_OP_NOOP, 226), +/* 737 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 738 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 739 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 740 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Image *, char const *, int, int, int, Color) +/* 741 */ _CFFI_OP(_CFFI_OP_NOOP, 672), +/* 742 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 743 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 744 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 745 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 746 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 747 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 748 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Image *, float) +/* 749 */ _CFFI_OP(_CFFI_OP_NOOP, 672), +/* 750 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 751 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 752 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Image *, int) +/* 753 */ _CFFI_OP(_CFFI_OP_NOOP, 672), +/* 754 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 755 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 756 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Image *, int, int) +/* 757 */ _CFFI_OP(_CFFI_OP_NOOP, 672), +/* 758 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 759 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 760 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 761 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Image *, int, int, Color) +/* 762 */ _CFFI_OP(_CFFI_OP_NOOP, 672), +/* 763 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 764 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 765 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 766 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 767 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Image *, int, int, int, Color) +/* 768 */ _CFFI_OP(_CFFI_OP_NOOP, 672), +/* 769 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 770 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 771 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 772 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 773 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 774 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Image *, int, int, int, int) +/* 775 */ _CFFI_OP(_CFFI_OP_NOOP, 672), +/* 776 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 777 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 778 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 779 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 780 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 781 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Image *, int, int, int, int, Color) +/* 782 */ _CFFI_OP(_CFFI_OP_NOOP, 672), +/* 783 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 784 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 785 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 786 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 787 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 788 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 789 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Image) +/* 790 */ _CFFI_OP(_CFFI_OP_NOOP, 17), +/* 791 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 792 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Material *, int, Texture) +/* 793 */ _CFFI_OP(_CFFI_OP_POINTER, 798), // Material * +/* 794 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 795 */ _CFFI_OP(_CFFI_OP_NOOP, 95), +/* 796 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 797 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Material) +/* 798 */ _CFFI_OP(_CFFI_OP_STRUCT_UNION, 9), // Material +/* 799 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 800 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Mesh *) +/* 801 */ _CFFI_OP(_CFFI_OP_POINTER, 6), // Mesh * +/* 802 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 803 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Mesh *, int) +/* 804 */ _CFFI_OP(_CFFI_OP_NOOP, 801), +/* 805 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 806 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 807 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Mesh) +/* 808 */ _CFFI_OP(_CFFI_OP_NOOP, 6), +/* 809 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 810 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Mesh, Material, Matrix *, int) +/* 811 */ _CFFI_OP(_CFFI_OP_NOOP, 6), +/* 812 */ _CFFI_OP(_CFFI_OP_NOOP, 798), +/* 813 */ _CFFI_OP(_CFFI_OP_POINTER, 232), // Matrix * +/* 814 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 815 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 816 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Mesh, Material, Matrix) +/* 817 */ _CFFI_OP(_CFFI_OP_NOOP, 6), +/* 818 */ _CFFI_OP(_CFFI_OP_NOOP, 798), +/* 819 */ _CFFI_OP(_CFFI_OP_NOOP, 232), +/* 820 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 821 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Mesh, int, void *, int, int) +/* 822 */ _CFFI_OP(_CFFI_OP_NOOP, 6), +/* 823 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 824 */ _CFFI_OP(_CFFI_OP_NOOP, 45), +/* 825 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 826 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 827 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 828 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Model *, int, int) +/* 829 */ _CFFI_OP(_CFFI_OP_POINTER, 236), // Model * +/* 830 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 831 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 832 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 833 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Model) +/* 834 */ _CFFI_OP(_CFFI_OP_NOOP, 236), +/* 835 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 836 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Model, ModelAnimation, int) +/* 837 */ _CFFI_OP(_CFFI_OP_NOOP, 236), +/* 838 */ _CFFI_OP(_CFFI_OP_NOOP, 426), +/* 839 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 840 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 841 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Model, Vector3, Vector3, float, Vector3, Color) +/* 842 */ _CFFI_OP(_CFFI_OP_NOOP, 236), +/* 843 */ _CFFI_OP(_CFFI_OP_NOOP, 180), +/* 844 */ _CFFI_OP(_CFFI_OP_NOOP, 180), +/* 845 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 846 */ _CFFI_OP(_CFFI_OP_NOOP, 180), +/* 847 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 848 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 849 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Model, Vector3, float, Color) +/* 850 */ _CFFI_OP(_CFFI_OP_NOOP, 236), +/* 851 */ _CFFI_OP(_CFFI_OP_NOOP, 180), +/* 852 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 853 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 854 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 855 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(ModelAnimation *, unsigned int) +/* 856 */ _CFFI_OP(_CFFI_OP_POINTER, 426), // ModelAnimation * +/* 857 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 8), +/* 858 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 859 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(ModelAnimation) +/* 860 */ _CFFI_OP(_CFFI_OP_NOOP, 426), +/* 861 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 862 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Music) +/* 863 */ _CFFI_OP(_CFFI_OP_NOOP, 385), +/* 864 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 865 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Music, float) +/* 866 */ _CFFI_OP(_CFFI_OP_NOOP, 385), +/* 867 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 868 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 869 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Ray, Color) +/* 870 */ _CFFI_OP(_CFFI_OP_NOOP, 230), +/* 871 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 872 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 873 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Rectangle, Color) +/* 874 */ _CFFI_OP(_CFFI_OP_NOOP, 92), +/* 875 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 876 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 877 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Rectangle, Color, Color, Color, Color) +/* 878 */ _CFFI_OP(_CFFI_OP_NOOP, 92), +/* 879 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 880 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 881 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 882 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 883 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 884 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Rectangle, Vector2, float, Color) +/* 885 */ _CFFI_OP(_CFFI_OP_NOOP, 92), +/* 886 */ _CFFI_OP(_CFFI_OP_NOOP, 226), +/* 887 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 888 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 889 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 890 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Rectangle, float, int, Color) +/* 891 */ _CFFI_OP(_CFFI_OP_NOOP, 92), +/* 892 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 893 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 894 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 895 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 896 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Rectangle, float, int, int, Color) +/* 897 */ _CFFI_OP(_CFFI_OP_NOOP, 92), +/* 898 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 899 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 900 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 901 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 902 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 903 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Rectangle, int, Color) +/* 904 */ _CFFI_OP(_CFFI_OP_NOOP, 92), +/* 905 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 906 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 907 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 908 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(RenderTexture) +/* 909 */ _CFFI_OP(_CFFI_OP_STRUCT_UNION, 20), // RenderTexture +/* 910 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 911 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Shader) +/* 912 */ _CFFI_OP(_CFFI_OP_NOOP, 451), +/* 913 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 914 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Shader, int, Matrix) +/* 915 */ _CFFI_OP(_CFFI_OP_NOOP, 451), +/* 916 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 917 */ _CFFI_OP(_CFFI_OP_NOOP, 232), +/* 918 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 919 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Shader, int, Texture) +/* 920 */ _CFFI_OP(_CFFI_OP_NOOP, 451), +/* 921 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 922 */ _CFFI_OP(_CFFI_OP_NOOP, 95), +/* 923 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 924 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Shader, int, void const *, int) +/* 925 */ _CFFI_OP(_CFFI_OP_NOOP, 451), +/* 926 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 927 */ _CFFI_OP(_CFFI_OP_NOOP, 586), +/* 928 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 929 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 930 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Shader, int, void const *, int, int) +/* 931 */ _CFFI_OP(_CFFI_OP_NOOP, 451), +/* 932 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 933 */ _CFFI_OP(_CFFI_OP_NOOP, 586), +/* 934 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 935 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 936 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 937 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Sound) +/* 938 */ _CFFI_OP(_CFFI_OP_NOOP, 455), +/* 939 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 940 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Sound, float) +/* 941 */ _CFFI_OP(_CFFI_OP_NOOP, 455), +/* 942 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 943 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 944 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Sound, void const *, int) +/* 945 */ _CFFI_OP(_CFFI_OP_NOOP, 455), +/* 946 */ _CFFI_OP(_CFFI_OP_NOOP, 586), +/* 947 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 948 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 949 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Texture *) +/* 950 */ _CFFI_OP(_CFFI_OP_POINTER, 95), // Texture * +/* 951 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 952 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Texture) +/* 953 */ _CFFI_OP(_CFFI_OP_NOOP, 95), +/* 954 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 955 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Texture, NPatchInfo, Rectangle, Vector2, float, Color) +/* 956 */ _CFFI_OP(_CFFI_OP_NOOP, 95), +/* 957 */ _CFFI_OP(_CFFI_OP_STRUCT_UNION, 16), // NPatchInfo +/* 958 */ _CFFI_OP(_CFFI_OP_NOOP, 92), +/* 959 */ _CFFI_OP(_CFFI_OP_NOOP, 226), +/* 960 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 961 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 962 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 963 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Texture, Rectangle) +/* 964 */ _CFFI_OP(_CFFI_OP_NOOP, 95), +/* 965 */ _CFFI_OP(_CFFI_OP_NOOP, 92), +/* 966 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 967 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Texture, Rectangle, Rectangle, Vector2, float, Color) +/* 968 */ _CFFI_OP(_CFFI_OP_NOOP, 95), +/* 969 */ _CFFI_OP(_CFFI_OP_NOOP, 92), +/* 970 */ _CFFI_OP(_CFFI_OP_NOOP, 92), +/* 971 */ _CFFI_OP(_CFFI_OP_NOOP, 226), +/* 972 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 973 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 974 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 975 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Texture, Rectangle, Rectangle, Vector2, float, float, Color) +/* 976 */ _CFFI_OP(_CFFI_OP_NOOP, 95), +/* 977 */ _CFFI_OP(_CFFI_OP_NOOP, 92), +/* 978 */ _CFFI_OP(_CFFI_OP_NOOP, 92), +/* 979 */ _CFFI_OP(_CFFI_OP_NOOP, 226), +/* 980 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 981 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 982 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 983 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 984 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Texture, Rectangle, Vector2, Color) +/* 985 */ _CFFI_OP(_CFFI_OP_NOOP, 95), +/* 986 */ _CFFI_OP(_CFFI_OP_NOOP, 92), +/* 987 */ _CFFI_OP(_CFFI_OP_NOOP, 226), +/* 988 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 989 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 990 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Texture, Rectangle, void const *) +/* 991 */ _CFFI_OP(_CFFI_OP_NOOP, 95), +/* 992 */ _CFFI_OP(_CFFI_OP_NOOP, 92), +/* 993 */ _CFFI_OP(_CFFI_OP_NOOP, 586), +/* 994 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 995 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Texture, Vector2, Color) +/* 996 */ _CFFI_OP(_CFFI_OP_NOOP, 95), +/* 997 */ _CFFI_OP(_CFFI_OP_NOOP, 226), +/* 998 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 999 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1000 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Texture, Vector2, Vector2 *, Vector2 *, int, Color) +/* 1001 */ _CFFI_OP(_CFFI_OP_NOOP, 95), +/* 1002 */ _CFFI_OP(_CFFI_OP_NOOP, 226), +/* 1003 */ _CFFI_OP(_CFFI_OP_NOOP, 472), +/* 1004 */ _CFFI_OP(_CFFI_OP_NOOP, 472), +/* 1005 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1006 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 1007 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1008 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Texture, Vector2, Vector2, Rectangle, Color) +/* 1009 */ _CFFI_OP(_CFFI_OP_NOOP, 95), +/* 1010 */ _CFFI_OP(_CFFI_OP_NOOP, 226), +/* 1011 */ _CFFI_OP(_CFFI_OP_NOOP, 226), +/* 1012 */ _CFFI_OP(_CFFI_OP_NOOP, 92), +/* 1013 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 1014 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1015 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Texture, Vector2, float, float, Color) +/* 1016 */ _CFFI_OP(_CFFI_OP_NOOP, 95), +/* 1017 */ _CFFI_OP(_CFFI_OP_NOOP, 226), +/* 1018 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 1019 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 1020 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 1021 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1022 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Texture, Vector3, float, float, float, Color) +/* 1023 */ _CFFI_OP(_CFFI_OP_NOOP, 95), +/* 1024 */ _CFFI_OP(_CFFI_OP_NOOP, 180), +/* 1025 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 1026 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 1027 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 1028 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 1029 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1030 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Texture, int) +/* 1031 */ _CFFI_OP(_CFFI_OP_NOOP, 95), +/* 1032 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1033 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1034 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Texture, int, int, Color) +/* 1035 */ _CFFI_OP(_CFFI_OP_NOOP, 95), +/* 1036 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1037 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1038 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 1039 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1040 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Texture, void const *) +/* 1041 */ _CFFI_OP(_CFFI_OP_NOOP, 95), +/* 1042 */ _CFFI_OP(_CFFI_OP_NOOP, 586), +/* 1043 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1044 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Vector2 *, int, Color) +/* 1045 */ _CFFI_OP(_CFFI_OP_NOOP, 472), +/* 1046 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1047 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 1048 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1049 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Vector2, Color) +/* 1050 */ _CFFI_OP(_CFFI_OP_NOOP, 226), +/* 1051 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 1052 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1053 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Vector2, Vector2, Color) +/* 1054 */ _CFFI_OP(_CFFI_OP_NOOP, 226), +/* 1055 */ _CFFI_OP(_CFFI_OP_NOOP, 226), +/* 1056 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 1057 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1058 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Vector2, Vector2, Vector2, Color) +/* 1059 */ _CFFI_OP(_CFFI_OP_NOOP, 226), +/* 1060 */ _CFFI_OP(_CFFI_OP_NOOP, 226), +/* 1061 */ _CFFI_OP(_CFFI_OP_NOOP, 226), +/* 1062 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 1063 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1064 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Vector2, Vector2, Vector2, float, Color) +/* 1065 */ _CFFI_OP(_CFFI_OP_NOOP, 226), +/* 1066 */ _CFFI_OP(_CFFI_OP_NOOP, 226), +/* 1067 */ _CFFI_OP(_CFFI_OP_NOOP, 226), +/* 1068 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 1069 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 1070 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1071 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Vector2, Vector2, float, Color) +/* 1072 */ _CFFI_OP(_CFFI_OP_NOOP, 226), +/* 1073 */ _CFFI_OP(_CFFI_OP_NOOP, 226), +/* 1074 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 1075 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 1076 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1077 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Vector2, float, Color) +/* 1078 */ _CFFI_OP(_CFFI_OP_NOOP, 226), +/* 1079 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 1080 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 1081 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1082 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Vector2, float, float, float, float, int, Color) +/* 1083 */ _CFFI_OP(_CFFI_OP_NOOP, 226), +/* 1084 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 1085 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 1086 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 1087 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 1088 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1089 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 1090 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1091 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Vector2, float, float, float, int, Color) +/* 1092 */ _CFFI_OP(_CFFI_OP_NOOP, 226), +/* 1093 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 1094 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 1095 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 1096 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1097 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 1098 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1099 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Vector2, int, float, float, Color) +/* 1100 */ _CFFI_OP(_CFFI_OP_NOOP, 226), +/* 1101 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1102 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 1103 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 1104 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 1105 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1106 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Vector3 *, int, Color) +/* 1107 */ _CFFI_OP(_CFFI_OP_NOOP, 444), +/* 1108 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1109 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 1110 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1111 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Vector3, Color) +/* 1112 */ _CFFI_OP(_CFFI_OP_NOOP, 180), +/* 1113 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 1114 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1115 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Vector3, Vector2, Color) +/* 1116 */ _CFFI_OP(_CFFI_OP_NOOP, 180), +/* 1117 */ _CFFI_OP(_CFFI_OP_NOOP, 226), +/* 1118 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 1119 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1120 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Vector3, Vector3, Color) +/* 1121 */ _CFFI_OP(_CFFI_OP_NOOP, 180), +/* 1122 */ _CFFI_OP(_CFFI_OP_NOOP, 180), +/* 1123 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 1124 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1125 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Vector3, Vector3, Vector3, Color) +/* 1126 */ _CFFI_OP(_CFFI_OP_NOOP, 180), +/* 1127 */ _CFFI_OP(_CFFI_OP_NOOP, 180), +/* 1128 */ _CFFI_OP(_CFFI_OP_NOOP, 180), +/* 1129 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 1130 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1131 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Vector3, float, Color) +/* 1132 */ _CFFI_OP(_CFFI_OP_NOOP, 180), +/* 1133 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 1134 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 1135 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1136 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Vector3, float, Vector3, float, Color) +/* 1137 */ _CFFI_OP(_CFFI_OP_NOOP, 180), +/* 1138 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 1139 */ _CFFI_OP(_CFFI_OP_NOOP, 180), +/* 1140 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 1141 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 1142 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1143 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Vector3, float, float, float, Color) +/* 1144 */ _CFFI_OP(_CFFI_OP_NOOP, 180), +/* 1145 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 1146 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 1147 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 1148 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 1149 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1150 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Vector3, float, float, float, int, Color) +/* 1151 */ _CFFI_OP(_CFFI_OP_NOOP, 180), +/* 1152 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 1153 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 1154 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 1155 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1156 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 1157 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1158 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Vector3, float, int, int, Color) +/* 1159 */ _CFFI_OP(_CFFI_OP_NOOP, 180), +/* 1160 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 1161 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1162 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1163 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 1164 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1165 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(VrStereoConfig) +/* 1166 */ _CFFI_OP(_CFFI_OP_STRUCT_UNION, 29), // VrStereoConfig +/* 1167 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1168 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Wave *, int, int) +/* 1169 */ _CFFI_OP(_CFFI_OP_POINTER, 265), // Wave * +/* 1170 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1171 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1172 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1173 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Wave *, int, int, int) +/* 1174 */ _CFFI_OP(_CFFI_OP_NOOP, 1169), +/* 1175 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1176 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1177 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1178 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1179 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(Wave) +/* 1180 */ _CFFI_OP(_CFFI_OP_NOOP, 265), +/* 1181 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1182 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(char *, char const *, int *) +/* 1183 */ _CFFI_OP(_CFFI_OP_NOOP, 333), +/* 1184 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 1185 */ _CFFI_OP(_CFFI_OP_NOOP, 12), +/* 1186 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1187 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(char const *) +/* 1188 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 1189 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1190 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(char const *, int, int, int, Color) +/* 1191 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 1192 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1193 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1194 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1195 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 1196 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1197 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(float *) +/* 1198 */ _CFFI_OP(_CFFI_OP_POINTER, 31), // float * +/* 1199 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1200 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(float) +/* 1201 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 1202 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1203 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(float, float) +/* 1204 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 1205 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 1206 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1207 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(int) +/* 1208 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1209 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1210 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(int, char const *, ...) +/* 1211 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1212 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 1213 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 1), +/* 1214 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(int, float) +/* 1215 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1216 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 1217 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1218 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(int, int) +/* 1219 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1220 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1221 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1222 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(int, int, Color) +/* 1223 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1224 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1225 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 1226 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1227 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(int, int, char const *) +/* 1228 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1229 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1230 */ _CFFI_OP(_CFFI_OP_NOOP, 54), +/* 1231 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1232 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(int, int, float, Color) +/* 1233 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1234 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1235 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 1236 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 1237 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1238 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(int, int, float, Color, Color) +/* 1239 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1240 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1241 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 1242 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 1243 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 1244 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1245 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(int, int, float, float, Color) +/* 1246 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1247 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1248 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 1249 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 13), +/* 1250 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 1251 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1252 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(int, int, int, int) +/* 1253 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1254 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1255 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1256 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1257 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1258 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(int, int, int, int, Color) +/* 1259 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1260 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1261 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1262 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1263 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 1264 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1265 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(int, int, int, int, Color, Color) +/* 1266 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1267 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1268 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1269 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1270 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 1271 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 1272 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1273 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(int, int, int, int, int, int) +/* 1274 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1275 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1276 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1277 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1278 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1279 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1280 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1281 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(unsigned char *) +/* 1282 */ _CFFI_OP(_CFFI_OP_NOOP, 222), +/* 1283 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1284 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(unsigned int) +/* 1285 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 8), +/* 1286 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1287 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(void *) +/* 1288 */ _CFFI_OP(_CFFI_OP_NOOP, 45), +/* 1289 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1290 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(void *, Color, int) +/* 1291 */ _CFFI_OP(_CFFI_OP_NOOP, 45), +/* 1292 */ _CFFI_OP(_CFFI_OP_NOOP, 25), +/* 1293 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 7), +/* 1294 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1295 */ _CFFI_OP(_CFFI_OP_FUNCTION, 1345), // void()(void) +/* 1296 */ _CFFI_OP(_CFFI_OP_FUNCTION_END, 0), +/* 1297 */ _CFFI_OP(_CFFI_OP_ENUM, 0), // BlendMode +/* 1298 */ _CFFI_OP(_CFFI_OP_POINTER, 1299), // BoneInfo * +/* 1299 */ _CFFI_OP(_CFFI_OP_STRUCT_UNION, 1), // BoneInfo +/* 1300 */ _CFFI_OP(_CFFI_OP_ENUM, 1), // CameraMode +/* 1301 */ _CFFI_OP(_CFFI_OP_ENUM, 2), // CameraProjection +/* 1302 */ _CFFI_OP(_CFFI_OP_STRUCT_UNION, 5), // CharInfo +/* 1303 */ _CFFI_OP(_CFFI_OP_ENUM, 3), // ConfigFlags +/* 1304 */ _CFFI_OP(_CFFI_OP_ENUM, 4), // CubemapLayout +/* 1305 */ _CFFI_OP(_CFFI_OP_ENUM, 5), // FontType +/* 1306 */ _CFFI_OP(_CFFI_OP_ENUM, 6), // GamepadAxis +/* 1307 */ _CFFI_OP(_CFFI_OP_ENUM, 7), // GamepadButton +/* 1308 */ _CFFI_OP(_CFFI_OP_ENUM, 8), // Gestures +/* 1309 */ _CFFI_OP(_CFFI_OP_ENUM, 9), // KeyboardKey +/* 1310 */ _CFFI_OP(_CFFI_OP_POINTER, 1311), // MaterialMap * +/* 1311 */ _CFFI_OP(_CFFI_OP_STRUCT_UNION, 10), // MaterialMap +/* 1312 */ _CFFI_OP(_CFFI_OP_ENUM, 10), // MaterialMapIndex +/* 1313 */ _CFFI_OP(_CFFI_OP_ARRAY, 232), // Matrix[2] +/* 1314 */ (_cffi_opcode_t)(2), +/* 1315 */ _CFFI_OP(_CFFI_OP_ENUM, 11), // MouseButton +/* 1316 */ _CFFI_OP(_CFFI_OP_ENUM, 12), // MouseCursor +/* 1317 */ _CFFI_OP(_CFFI_OP_ENUM, 13), // NPatchLayout +/* 1318 */ _CFFI_OP(_CFFI_OP_ENUM, 14), // PixelFormat +/* 1319 */ _CFFI_OP(_CFFI_OP_STRUCT_UNION, 18), // RayHitInfo +/* 1320 */ _CFFI_OP(_CFFI_OP_POINTER, 92), // Rectangle * +/* 1321 */ _CFFI_OP(_CFFI_OP_ENUM, 15), // ShaderLocationIndex +/* 1322 */ _CFFI_OP(_CFFI_OP_ENUM, 16), // ShaderUniformDataType +/* 1323 */ _CFFI_OP(_CFFI_OP_ENUM, 17), // TextureFilter +/* 1324 */ _CFFI_OP(_CFFI_OP_ENUM, 18), // TextureWrap +/* 1325 */ _CFFI_OP(_CFFI_OP_ENUM, 19), // TraceLogLevel +/* 1326 */ _CFFI_OP(_CFFI_OP_POINTER, 1327), // Transform * * +/* 1327 */ _CFFI_OP(_CFFI_OP_POINTER, 1328), // Transform * +/* 1328 */ _CFFI_OP(_CFFI_OP_STRUCT_UNION, 24), // Transform +/* 1329 */ _CFFI_OP(_CFFI_OP_POINTER, 333), // char * * +/* 1330 */ _CFFI_OP(_CFFI_OP_POINTER, 362), // char const *(*)(char const *, ...) +/* 1331 */ _CFFI_OP(_CFFI_OP_ARRAY, 351), // char[32] +/* 1332 */ (_cffi_opcode_t)(32), +/* 1333 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 14), // double +/* 1334 */ _CFFI_OP(_CFFI_OP_ARRAY, 31), // float[2] +/* 1335 */ (_cffi_opcode_t)(2), +/* 1336 */ _CFFI_OP(_CFFI_OP_ARRAY, 31), // float[4] +/* 1337 */ (_cffi_opcode_t)(4), +/* 1338 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 9), // long +/* 1339 */ _CFFI_OP(_CFFI_OP_POINTER, 1340), // rAudioBuffer * +/* 1340 */ _CFFI_OP(_CFFI_OP_STRUCT_UNION, 31), // rAudioBuffer +/* 1341 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 4), // unsigned char +/* 1342 */ _CFFI_OP(_CFFI_OP_POINTER, 1343), // unsigned short * +/* 1343 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 6), // unsigned short +/* 1344 */ _CFFI_OP(_CFFI_OP_POINTER, 1210), // void(*)(int, char const *, ...) +/* 1345 */ _CFFI_OP(_CFFI_OP_PRIMITIVE, 0), // void +}; + +static int _cffi_const_BLEND_ALPHA(unsigned long long *o) +{ + int n = (BLEND_ALPHA) <= 0; + *o = (unsigned long long)((BLEND_ALPHA) | 0); /* check that BLEND_ALPHA is an integer */ + return n; +} + +static int _cffi_const_BLEND_ADDITIVE(unsigned long long *o) +{ + int n = (BLEND_ADDITIVE) <= 0; + *o = (unsigned long long)((BLEND_ADDITIVE) | 0); /* check that BLEND_ADDITIVE is an integer */ + return n; +} + +static int _cffi_const_BLEND_MULTIPLIED(unsigned long long *o) +{ + int n = (BLEND_MULTIPLIED) <= 0; + *o = (unsigned long long)((BLEND_MULTIPLIED) | 0); /* check that BLEND_MULTIPLIED is an integer */ + return n; +} + +static int _cffi_const_BLEND_ADD_COLORS(unsigned long long *o) +{ + int n = (BLEND_ADD_COLORS) <= 0; + *o = (unsigned long long)((BLEND_ADD_COLORS) | 0); /* check that BLEND_ADD_COLORS is an integer */ + return n; +} + +static int _cffi_const_BLEND_SUBTRACT_COLORS(unsigned long long *o) +{ + int n = (BLEND_SUBTRACT_COLORS) <= 0; + *o = (unsigned long long)((BLEND_SUBTRACT_COLORS) | 0); /* check that BLEND_SUBTRACT_COLORS is an integer */ + return n; +} + +static int _cffi_const_BLEND_CUSTOM(unsigned long long *o) +{ + int n = (BLEND_CUSTOM) <= 0; + *o = (unsigned long long)((BLEND_CUSTOM) | 0); /* check that BLEND_CUSTOM is an integer */ + return n; +} + +static int _cffi_const_CAMERA_CUSTOM(unsigned long long *o) +{ + int n = (CAMERA_CUSTOM) <= 0; + *o = (unsigned long long)((CAMERA_CUSTOM) | 0); /* check that CAMERA_CUSTOM is an integer */ + return n; +} + +static int _cffi_const_CAMERA_FREE(unsigned long long *o) +{ + int n = (CAMERA_FREE) <= 0; + *o = (unsigned long long)((CAMERA_FREE) | 0); /* check that CAMERA_FREE is an integer */ + return n; +} + +static int _cffi_const_CAMERA_ORBITAL(unsigned long long *o) +{ + int n = (CAMERA_ORBITAL) <= 0; + *o = (unsigned long long)((CAMERA_ORBITAL) | 0); /* check that CAMERA_ORBITAL is an integer */ + return n; +} + +static int _cffi_const_CAMERA_FIRST_PERSON(unsigned long long *o) +{ + int n = (CAMERA_FIRST_PERSON) <= 0; + *o = (unsigned long long)((CAMERA_FIRST_PERSON) | 0); /* check that CAMERA_FIRST_PERSON is an integer */ + return n; +} + +static int _cffi_const_CAMERA_THIRD_PERSON(unsigned long long *o) +{ + int n = (CAMERA_THIRD_PERSON) <= 0; + *o = (unsigned long long)((CAMERA_THIRD_PERSON) | 0); /* check that CAMERA_THIRD_PERSON is an integer */ + return n; +} + +static int _cffi_const_CAMERA_PERSPECTIVE(unsigned long long *o) +{ + int n = (CAMERA_PERSPECTIVE) <= 0; + *o = (unsigned long long)((CAMERA_PERSPECTIVE) | 0); /* check that CAMERA_PERSPECTIVE is an integer */ + return n; +} + +static int _cffi_const_CAMERA_ORTHOGRAPHIC(unsigned long long *o) +{ + int n = (CAMERA_ORTHOGRAPHIC) <= 0; + *o = (unsigned long long)((CAMERA_ORTHOGRAPHIC) | 0); /* check that CAMERA_ORTHOGRAPHIC is an integer */ + return n; +} + +static int _cffi_const_FLAG_VSYNC_HINT(unsigned long long *o) +{ + int n = (FLAG_VSYNC_HINT) <= 0; + *o = (unsigned long long)((FLAG_VSYNC_HINT) | 0); /* check that FLAG_VSYNC_HINT is an integer */ + return n; +} + +static int _cffi_const_FLAG_FULLSCREEN_MODE(unsigned long long *o) +{ + int n = (FLAG_FULLSCREEN_MODE) <= 0; + *o = (unsigned long long)((FLAG_FULLSCREEN_MODE) | 0); /* check that FLAG_FULLSCREEN_MODE is an integer */ + return n; +} + +static int _cffi_const_FLAG_WINDOW_RESIZABLE(unsigned long long *o) +{ + int n = (FLAG_WINDOW_RESIZABLE) <= 0; + *o = (unsigned long long)((FLAG_WINDOW_RESIZABLE) | 0); /* check that FLAG_WINDOW_RESIZABLE is an integer */ + return n; +} + +static int _cffi_const_FLAG_WINDOW_UNDECORATED(unsigned long long *o) +{ + int n = (FLAG_WINDOW_UNDECORATED) <= 0; + *o = (unsigned long long)((FLAG_WINDOW_UNDECORATED) | 0); /* check that FLAG_WINDOW_UNDECORATED is an integer */ + return n; +} + +static int _cffi_const_FLAG_WINDOW_HIDDEN(unsigned long long *o) +{ + int n = (FLAG_WINDOW_HIDDEN) <= 0; + *o = (unsigned long long)((FLAG_WINDOW_HIDDEN) | 0); /* check that FLAG_WINDOW_HIDDEN is an integer */ + return n; +} + +static int _cffi_const_FLAG_WINDOW_MINIMIZED(unsigned long long *o) +{ + int n = (FLAG_WINDOW_MINIMIZED) <= 0; + *o = (unsigned long long)((FLAG_WINDOW_MINIMIZED) | 0); /* check that FLAG_WINDOW_MINIMIZED is an integer */ + return n; +} + +static int _cffi_const_FLAG_WINDOW_MAXIMIZED(unsigned long long *o) +{ + int n = (FLAG_WINDOW_MAXIMIZED) <= 0; + *o = (unsigned long long)((FLAG_WINDOW_MAXIMIZED) | 0); /* check that FLAG_WINDOW_MAXIMIZED is an integer */ + return n; +} + +static int _cffi_const_FLAG_WINDOW_UNFOCUSED(unsigned long long *o) +{ + int n = (FLAG_WINDOW_UNFOCUSED) <= 0; + *o = (unsigned long long)((FLAG_WINDOW_UNFOCUSED) | 0); /* check that FLAG_WINDOW_UNFOCUSED is an integer */ + return n; +} + +static int _cffi_const_FLAG_WINDOW_TOPMOST(unsigned long long *o) +{ + int n = (FLAG_WINDOW_TOPMOST) <= 0; + *o = (unsigned long long)((FLAG_WINDOW_TOPMOST) | 0); /* check that FLAG_WINDOW_TOPMOST is an integer */ + return n; +} + +static int _cffi_const_FLAG_WINDOW_ALWAYS_RUN(unsigned long long *o) +{ + int n = (FLAG_WINDOW_ALWAYS_RUN) <= 0; + *o = (unsigned long long)((FLAG_WINDOW_ALWAYS_RUN) | 0); /* check that FLAG_WINDOW_ALWAYS_RUN is an integer */ + return n; +} + +static int _cffi_const_FLAG_WINDOW_TRANSPARENT(unsigned long long *o) +{ + int n = (FLAG_WINDOW_TRANSPARENT) <= 0; + *o = (unsigned long long)((FLAG_WINDOW_TRANSPARENT) | 0); /* check that FLAG_WINDOW_TRANSPARENT is an integer */ + return n; +} + +static int _cffi_const_FLAG_WINDOW_HIGHDPI(unsigned long long *o) +{ + int n = (FLAG_WINDOW_HIGHDPI) <= 0; + *o = (unsigned long long)((FLAG_WINDOW_HIGHDPI) | 0); /* check that FLAG_WINDOW_HIGHDPI is an integer */ + return n; +} + +static int _cffi_const_FLAG_MSAA_4X_HINT(unsigned long long *o) +{ + int n = (FLAG_MSAA_4X_HINT) <= 0; + *o = (unsigned long long)((FLAG_MSAA_4X_HINT) | 0); /* check that FLAG_MSAA_4X_HINT is an integer */ + return n; +} + +static int _cffi_const_FLAG_INTERLACED_HINT(unsigned long long *o) +{ + int n = (FLAG_INTERLACED_HINT) <= 0; + *o = (unsigned long long)((FLAG_INTERLACED_HINT) | 0); /* check that FLAG_INTERLACED_HINT is an integer */ + return n; +} + +static int _cffi_const_CUBEMAP_LAYOUT_AUTO_DETECT(unsigned long long *o) +{ + int n = (CUBEMAP_LAYOUT_AUTO_DETECT) <= 0; + *o = (unsigned long long)((CUBEMAP_LAYOUT_AUTO_DETECT) | 0); /* check that CUBEMAP_LAYOUT_AUTO_DETECT is an integer */ + return n; +} + +static int _cffi_const_CUBEMAP_LAYOUT_LINE_VERTICAL(unsigned long long *o) +{ + int n = (CUBEMAP_LAYOUT_LINE_VERTICAL) <= 0; + *o = (unsigned long long)((CUBEMAP_LAYOUT_LINE_VERTICAL) | 0); /* check that CUBEMAP_LAYOUT_LINE_VERTICAL is an integer */ + return n; +} + +static int _cffi_const_CUBEMAP_LAYOUT_LINE_HORIZONTAL(unsigned long long *o) +{ + int n = (CUBEMAP_LAYOUT_LINE_HORIZONTAL) <= 0; + *o = (unsigned long long)((CUBEMAP_LAYOUT_LINE_HORIZONTAL) | 0); /* check that CUBEMAP_LAYOUT_LINE_HORIZONTAL is an integer */ + return n; +} + +static int _cffi_const_CUBEMAP_LAYOUT_CROSS_THREE_BY_FOUR(unsigned long long *o) +{ + int n = (CUBEMAP_LAYOUT_CROSS_THREE_BY_FOUR) <= 0; + *o = (unsigned long long)((CUBEMAP_LAYOUT_CROSS_THREE_BY_FOUR) | 0); /* check that CUBEMAP_LAYOUT_CROSS_THREE_BY_FOUR is an integer */ + return n; +} + +static int _cffi_const_CUBEMAP_LAYOUT_CROSS_FOUR_BY_THREE(unsigned long long *o) +{ + int n = (CUBEMAP_LAYOUT_CROSS_FOUR_BY_THREE) <= 0; + *o = (unsigned long long)((CUBEMAP_LAYOUT_CROSS_FOUR_BY_THREE) | 0); /* check that CUBEMAP_LAYOUT_CROSS_FOUR_BY_THREE is an integer */ + return n; +} + +static int _cffi_const_CUBEMAP_LAYOUT_PANORAMA(unsigned long long *o) +{ + int n = (CUBEMAP_LAYOUT_PANORAMA) <= 0; + *o = (unsigned long long)((CUBEMAP_LAYOUT_PANORAMA) | 0); /* check that CUBEMAP_LAYOUT_PANORAMA is an integer */ + return n; +} + +static int _cffi_const_FONT_DEFAULT(unsigned long long *o) +{ + int n = (FONT_DEFAULT) <= 0; + *o = (unsigned long long)((FONT_DEFAULT) | 0); /* check that FONT_DEFAULT is an integer */ + return n; +} + +static int _cffi_const_FONT_BITMAP(unsigned long long *o) +{ + int n = (FONT_BITMAP) <= 0; + *o = (unsigned long long)((FONT_BITMAP) | 0); /* check that FONT_BITMAP is an integer */ + return n; +} + +static int _cffi_const_FONT_SDF(unsigned long long *o) +{ + int n = (FONT_SDF) <= 0; + *o = (unsigned long long)((FONT_SDF) | 0); /* check that FONT_SDF is an integer */ + return n; +} + +static int _cffi_const_GAMEPAD_AXIS_LEFT_X(unsigned long long *o) +{ + int n = (GAMEPAD_AXIS_LEFT_X) <= 0; + *o = (unsigned long long)((GAMEPAD_AXIS_LEFT_X) | 0); /* check that GAMEPAD_AXIS_LEFT_X is an integer */ + return n; +} + +static int _cffi_const_GAMEPAD_AXIS_LEFT_Y(unsigned long long *o) +{ + int n = (GAMEPAD_AXIS_LEFT_Y) <= 0; + *o = (unsigned long long)((GAMEPAD_AXIS_LEFT_Y) | 0); /* check that GAMEPAD_AXIS_LEFT_Y is an integer */ + return n; +} + +static int _cffi_const_GAMEPAD_AXIS_RIGHT_X(unsigned long long *o) +{ + int n = (GAMEPAD_AXIS_RIGHT_X) <= 0; + *o = (unsigned long long)((GAMEPAD_AXIS_RIGHT_X) | 0); /* check that GAMEPAD_AXIS_RIGHT_X is an integer */ + return n; +} + +static int _cffi_const_GAMEPAD_AXIS_RIGHT_Y(unsigned long long *o) +{ + int n = (GAMEPAD_AXIS_RIGHT_Y) <= 0; + *o = (unsigned long long)((GAMEPAD_AXIS_RIGHT_Y) | 0); /* check that GAMEPAD_AXIS_RIGHT_Y is an integer */ + return n; +} + +static int _cffi_const_GAMEPAD_AXIS_LEFT_TRIGGER(unsigned long long *o) +{ + int n = (GAMEPAD_AXIS_LEFT_TRIGGER) <= 0; + *o = (unsigned long long)((GAMEPAD_AXIS_LEFT_TRIGGER) | 0); /* check that GAMEPAD_AXIS_LEFT_TRIGGER is an integer */ + return n; +} + +static int _cffi_const_GAMEPAD_AXIS_RIGHT_TRIGGER(unsigned long long *o) +{ + int n = (GAMEPAD_AXIS_RIGHT_TRIGGER) <= 0; + *o = (unsigned long long)((GAMEPAD_AXIS_RIGHT_TRIGGER) | 0); /* check that GAMEPAD_AXIS_RIGHT_TRIGGER is an integer */ + return n; +} + +static int _cffi_const_GAMEPAD_BUTTON_UNKNOWN(unsigned long long *o) +{ + int n = (GAMEPAD_BUTTON_UNKNOWN) <= 0; + *o = (unsigned long long)((GAMEPAD_BUTTON_UNKNOWN) | 0); /* check that GAMEPAD_BUTTON_UNKNOWN is an integer */ + return n; +} + +static int _cffi_const_GAMEPAD_BUTTON_LEFT_FACE_UP(unsigned long long *o) +{ + int n = (GAMEPAD_BUTTON_LEFT_FACE_UP) <= 0; + *o = (unsigned long long)((GAMEPAD_BUTTON_LEFT_FACE_UP) | 0); /* check that GAMEPAD_BUTTON_LEFT_FACE_UP is an integer */ + return n; +} + +static int _cffi_const_GAMEPAD_BUTTON_LEFT_FACE_RIGHT(unsigned long long *o) +{ + int n = (GAMEPAD_BUTTON_LEFT_FACE_RIGHT) <= 0; + *o = (unsigned long long)((GAMEPAD_BUTTON_LEFT_FACE_RIGHT) | 0); /* check that GAMEPAD_BUTTON_LEFT_FACE_RIGHT is an integer */ + return n; +} + +static int _cffi_const_GAMEPAD_BUTTON_LEFT_FACE_DOWN(unsigned long long *o) +{ + int n = (GAMEPAD_BUTTON_LEFT_FACE_DOWN) <= 0; + *o = (unsigned long long)((GAMEPAD_BUTTON_LEFT_FACE_DOWN) | 0); /* check that GAMEPAD_BUTTON_LEFT_FACE_DOWN is an integer */ + return n; +} + +static int _cffi_const_GAMEPAD_BUTTON_LEFT_FACE_LEFT(unsigned long long *o) +{ + int n = (GAMEPAD_BUTTON_LEFT_FACE_LEFT) <= 0; + *o = (unsigned long long)((GAMEPAD_BUTTON_LEFT_FACE_LEFT) | 0); /* check that GAMEPAD_BUTTON_LEFT_FACE_LEFT is an integer */ + return n; +} + +static int _cffi_const_GAMEPAD_BUTTON_RIGHT_FACE_UP(unsigned long long *o) +{ + int n = (GAMEPAD_BUTTON_RIGHT_FACE_UP) <= 0; + *o = (unsigned long long)((GAMEPAD_BUTTON_RIGHT_FACE_UP) | 0); /* check that GAMEPAD_BUTTON_RIGHT_FACE_UP is an integer */ + return n; +} + +static int _cffi_const_GAMEPAD_BUTTON_RIGHT_FACE_RIGHT(unsigned long long *o) +{ + int n = (GAMEPAD_BUTTON_RIGHT_FACE_RIGHT) <= 0; + *o = (unsigned long long)((GAMEPAD_BUTTON_RIGHT_FACE_RIGHT) | 0); /* check that GAMEPAD_BUTTON_RIGHT_FACE_RIGHT is an integer */ + return n; +} + +static int _cffi_const_GAMEPAD_BUTTON_RIGHT_FACE_DOWN(unsigned long long *o) +{ + int n = (GAMEPAD_BUTTON_RIGHT_FACE_DOWN) <= 0; + *o = (unsigned long long)((GAMEPAD_BUTTON_RIGHT_FACE_DOWN) | 0); /* check that GAMEPAD_BUTTON_RIGHT_FACE_DOWN is an integer */ + return n; +} + +static int _cffi_const_GAMEPAD_BUTTON_RIGHT_FACE_LEFT(unsigned long long *o) +{ + int n = (GAMEPAD_BUTTON_RIGHT_FACE_LEFT) <= 0; + *o = (unsigned long long)((GAMEPAD_BUTTON_RIGHT_FACE_LEFT) | 0); /* check that GAMEPAD_BUTTON_RIGHT_FACE_LEFT is an integer */ + return n; +} + +static int _cffi_const_GAMEPAD_BUTTON_LEFT_TRIGGER_1(unsigned long long *o) +{ + int n = (GAMEPAD_BUTTON_LEFT_TRIGGER_1) <= 0; + *o = (unsigned long long)((GAMEPAD_BUTTON_LEFT_TRIGGER_1) | 0); /* check that GAMEPAD_BUTTON_LEFT_TRIGGER_1 is an integer */ + return n; +} + +static int _cffi_const_GAMEPAD_BUTTON_LEFT_TRIGGER_2(unsigned long long *o) +{ + int n = (GAMEPAD_BUTTON_LEFT_TRIGGER_2) <= 0; + *o = (unsigned long long)((GAMEPAD_BUTTON_LEFT_TRIGGER_2) | 0); /* check that GAMEPAD_BUTTON_LEFT_TRIGGER_2 is an integer */ + return n; +} + +static int _cffi_const_GAMEPAD_BUTTON_RIGHT_TRIGGER_1(unsigned long long *o) +{ + int n = (GAMEPAD_BUTTON_RIGHT_TRIGGER_1) <= 0; + *o = (unsigned long long)((GAMEPAD_BUTTON_RIGHT_TRIGGER_1) | 0); /* check that GAMEPAD_BUTTON_RIGHT_TRIGGER_1 is an integer */ + return n; +} + +static int _cffi_const_GAMEPAD_BUTTON_RIGHT_TRIGGER_2(unsigned long long *o) +{ + int n = (GAMEPAD_BUTTON_RIGHT_TRIGGER_2) <= 0; + *o = (unsigned long long)((GAMEPAD_BUTTON_RIGHT_TRIGGER_2) | 0); /* check that GAMEPAD_BUTTON_RIGHT_TRIGGER_2 is an integer */ + return n; +} + +static int _cffi_const_GAMEPAD_BUTTON_MIDDLE_LEFT(unsigned long long *o) +{ + int n = (GAMEPAD_BUTTON_MIDDLE_LEFT) <= 0; + *o = (unsigned long long)((GAMEPAD_BUTTON_MIDDLE_LEFT) | 0); /* check that GAMEPAD_BUTTON_MIDDLE_LEFT is an integer */ + return n; +} + +static int _cffi_const_GAMEPAD_BUTTON_MIDDLE(unsigned long long *o) +{ + int n = (GAMEPAD_BUTTON_MIDDLE) <= 0; + *o = (unsigned long long)((GAMEPAD_BUTTON_MIDDLE) | 0); /* check that GAMEPAD_BUTTON_MIDDLE is an integer */ + return n; +} + +static int _cffi_const_GAMEPAD_BUTTON_MIDDLE_RIGHT(unsigned long long *o) +{ + int n = (GAMEPAD_BUTTON_MIDDLE_RIGHT) <= 0; + *o = (unsigned long long)((GAMEPAD_BUTTON_MIDDLE_RIGHT) | 0); /* check that GAMEPAD_BUTTON_MIDDLE_RIGHT is an integer */ + return n; +} + +static int _cffi_const_GAMEPAD_BUTTON_LEFT_THUMB(unsigned long long *o) +{ + int n = (GAMEPAD_BUTTON_LEFT_THUMB) <= 0; + *o = (unsigned long long)((GAMEPAD_BUTTON_LEFT_THUMB) | 0); /* check that GAMEPAD_BUTTON_LEFT_THUMB is an integer */ + return n; +} + +static int _cffi_const_GAMEPAD_BUTTON_RIGHT_THUMB(unsigned long long *o) +{ + int n = (GAMEPAD_BUTTON_RIGHT_THUMB) <= 0; + *o = (unsigned long long)((GAMEPAD_BUTTON_RIGHT_THUMB) | 0); /* check that GAMEPAD_BUTTON_RIGHT_THUMB is an integer */ + return n; +} + +static int _cffi_const_GESTURE_NONE(unsigned long long *o) +{ + int n = (GESTURE_NONE) <= 0; + *o = (unsigned long long)((GESTURE_NONE) | 0); /* check that GESTURE_NONE is an integer */ + return n; +} + +static int _cffi_const_GESTURE_TAP(unsigned long long *o) +{ + int n = (GESTURE_TAP) <= 0; + *o = (unsigned long long)((GESTURE_TAP) | 0); /* check that GESTURE_TAP is an integer */ + return n; +} + +static int _cffi_const_GESTURE_DOUBLETAP(unsigned long long *o) +{ + int n = (GESTURE_DOUBLETAP) <= 0; + *o = (unsigned long long)((GESTURE_DOUBLETAP) | 0); /* check that GESTURE_DOUBLETAP is an integer */ + return n; +} + +static int _cffi_const_GESTURE_HOLD(unsigned long long *o) +{ + int n = (GESTURE_HOLD) <= 0; + *o = (unsigned long long)((GESTURE_HOLD) | 0); /* check that GESTURE_HOLD is an integer */ + return n; +} + +static int _cffi_const_GESTURE_DRAG(unsigned long long *o) +{ + int n = (GESTURE_DRAG) <= 0; + *o = (unsigned long long)((GESTURE_DRAG) | 0); /* check that GESTURE_DRAG is an integer */ + return n; +} + +static int _cffi_const_GESTURE_SWIPE_RIGHT(unsigned long long *o) +{ + int n = (GESTURE_SWIPE_RIGHT) <= 0; + *o = (unsigned long long)((GESTURE_SWIPE_RIGHT) | 0); /* check that GESTURE_SWIPE_RIGHT is an integer */ + return n; +} + +static int _cffi_const_GESTURE_SWIPE_LEFT(unsigned long long *o) +{ + int n = (GESTURE_SWIPE_LEFT) <= 0; + *o = (unsigned long long)((GESTURE_SWIPE_LEFT) | 0); /* check that GESTURE_SWIPE_LEFT is an integer */ + return n; +} + +static int _cffi_const_GESTURE_SWIPE_UP(unsigned long long *o) +{ + int n = (GESTURE_SWIPE_UP) <= 0; + *o = (unsigned long long)((GESTURE_SWIPE_UP) | 0); /* check that GESTURE_SWIPE_UP is an integer */ + return n; +} + +static int _cffi_const_GESTURE_SWIPE_DOWN(unsigned long long *o) +{ + int n = (GESTURE_SWIPE_DOWN) <= 0; + *o = (unsigned long long)((GESTURE_SWIPE_DOWN) | 0); /* check that GESTURE_SWIPE_DOWN is an integer */ + return n; +} + +static int _cffi_const_GESTURE_PINCH_IN(unsigned long long *o) +{ + int n = (GESTURE_PINCH_IN) <= 0; + *o = (unsigned long long)((GESTURE_PINCH_IN) | 0); /* check that GESTURE_PINCH_IN is an integer */ + return n; +} + +static int _cffi_const_GESTURE_PINCH_OUT(unsigned long long *o) +{ + int n = (GESTURE_PINCH_OUT) <= 0; + *o = (unsigned long long)((GESTURE_PINCH_OUT) | 0); /* check that GESTURE_PINCH_OUT is an integer */ + return n; +} + +static int _cffi_const_KEY_NULL(unsigned long long *o) +{ + int n = (KEY_NULL) <= 0; + *o = (unsigned long long)((KEY_NULL) | 0); /* check that KEY_NULL is an integer */ + return n; +} + +static int _cffi_const_KEY_APOSTROPHE(unsigned long long *o) +{ + int n = (KEY_APOSTROPHE) <= 0; + *o = (unsigned long long)((KEY_APOSTROPHE) | 0); /* check that KEY_APOSTROPHE is an integer */ + return n; +} + +static int _cffi_const_KEY_COMMA(unsigned long long *o) +{ + int n = (KEY_COMMA) <= 0; + *o = (unsigned long long)((KEY_COMMA) | 0); /* check that KEY_COMMA is an integer */ + return n; +} + +static int _cffi_const_KEY_MINUS(unsigned long long *o) +{ + int n = (KEY_MINUS) <= 0; + *o = (unsigned long long)((KEY_MINUS) | 0); /* check that KEY_MINUS is an integer */ + return n; +} + +static int _cffi_const_KEY_PERIOD(unsigned long long *o) +{ + int n = (KEY_PERIOD) <= 0; + *o = (unsigned long long)((KEY_PERIOD) | 0); /* check that KEY_PERIOD is an integer */ + return n; +} + +static int _cffi_const_KEY_SLASH(unsigned long long *o) +{ + int n = (KEY_SLASH) <= 0; + *o = (unsigned long long)((KEY_SLASH) | 0); /* check that KEY_SLASH is an integer */ + return n; +} + +static int _cffi_const_KEY_ZERO(unsigned long long *o) +{ + int n = (KEY_ZERO) <= 0; + *o = (unsigned long long)((KEY_ZERO) | 0); /* check that KEY_ZERO is an integer */ + return n; +} + +static int _cffi_const_KEY_ONE(unsigned long long *o) +{ + int n = (KEY_ONE) <= 0; + *o = (unsigned long long)((KEY_ONE) | 0); /* check that KEY_ONE is an integer */ + return n; +} + +static int _cffi_const_KEY_TWO(unsigned long long *o) +{ + int n = (KEY_TWO) <= 0; + *o = (unsigned long long)((KEY_TWO) | 0); /* check that KEY_TWO is an integer */ + return n; +} + +static int _cffi_const_KEY_THREE(unsigned long long *o) +{ + int n = (KEY_THREE) <= 0; + *o = (unsigned long long)((KEY_THREE) | 0); /* check that KEY_THREE is an integer */ + return n; +} + +static int _cffi_const_KEY_FOUR(unsigned long long *o) +{ + int n = (KEY_FOUR) <= 0; + *o = (unsigned long long)((KEY_FOUR) | 0); /* check that KEY_FOUR is an integer */ + return n; +} + +static int _cffi_const_KEY_FIVE(unsigned long long *o) +{ + int n = (KEY_FIVE) <= 0; + *o = (unsigned long long)((KEY_FIVE) | 0); /* check that KEY_FIVE is an integer */ + return n; +} + +static int _cffi_const_KEY_SIX(unsigned long long *o) +{ + int n = (KEY_SIX) <= 0; + *o = (unsigned long long)((KEY_SIX) | 0); /* check that KEY_SIX is an integer */ + return n; +} + +static int _cffi_const_KEY_SEVEN(unsigned long long *o) +{ + int n = (KEY_SEVEN) <= 0; + *o = (unsigned long long)((KEY_SEVEN) | 0); /* check that KEY_SEVEN is an integer */ + return n; +} + +static int _cffi_const_KEY_EIGHT(unsigned long long *o) +{ + int n = (KEY_EIGHT) <= 0; + *o = (unsigned long long)((KEY_EIGHT) | 0); /* check that KEY_EIGHT is an integer */ + return n; +} + +static int _cffi_const_KEY_NINE(unsigned long long *o) +{ + int n = (KEY_NINE) <= 0; + *o = (unsigned long long)((KEY_NINE) | 0); /* check that KEY_NINE is an integer */ + return n; +} + +static int _cffi_const_KEY_SEMICOLON(unsigned long long *o) +{ + int n = (KEY_SEMICOLON) <= 0; + *o = (unsigned long long)((KEY_SEMICOLON) | 0); /* check that KEY_SEMICOLON is an integer */ + return n; +} + +static int _cffi_const_KEY_EQUAL(unsigned long long *o) +{ + int n = (KEY_EQUAL) <= 0; + *o = (unsigned long long)((KEY_EQUAL) | 0); /* check that KEY_EQUAL is an integer */ + return n; +} + +static int _cffi_const_KEY_A(unsigned long long *o) +{ + int n = (KEY_A) <= 0; + *o = (unsigned long long)((KEY_A) | 0); /* check that KEY_A is an integer */ + return n; +} + +static int _cffi_const_KEY_B(unsigned long long *o) +{ + int n = (KEY_B) <= 0; + *o = (unsigned long long)((KEY_B) | 0); /* check that KEY_B is an integer */ + return n; +} + +static int _cffi_const_KEY_C(unsigned long long *o) +{ + int n = (KEY_C) <= 0; + *o = (unsigned long long)((KEY_C) | 0); /* check that KEY_C is an integer */ + return n; +} + +static int _cffi_const_KEY_D(unsigned long long *o) +{ + int n = (KEY_D) <= 0; + *o = (unsigned long long)((KEY_D) | 0); /* check that KEY_D is an integer */ + return n; +} + +static int _cffi_const_KEY_E(unsigned long long *o) +{ + int n = (KEY_E) <= 0; + *o = (unsigned long long)((KEY_E) | 0); /* check that KEY_E is an integer */ + return n; +} + +static int _cffi_const_KEY_F(unsigned long long *o) +{ + int n = (KEY_F) <= 0; + *o = (unsigned long long)((KEY_F) | 0); /* check that KEY_F is an integer */ + return n; +} + +static int _cffi_const_KEY_G(unsigned long long *o) +{ + int n = (KEY_G) <= 0; + *o = (unsigned long long)((KEY_G) | 0); /* check that KEY_G is an integer */ + return n; +} + +static int _cffi_const_KEY_H(unsigned long long *o) +{ + int n = (KEY_H) <= 0; + *o = (unsigned long long)((KEY_H) | 0); /* check that KEY_H is an integer */ + return n; +} + +static int _cffi_const_KEY_I(unsigned long long *o) +{ + int n = (KEY_I) <= 0; + *o = (unsigned long long)((KEY_I) | 0); /* check that KEY_I is an integer */ + return n; +} + +static int _cffi_const_KEY_J(unsigned long long *o) +{ + int n = (KEY_J) <= 0; + *o = (unsigned long long)((KEY_J) | 0); /* check that KEY_J is an integer */ + return n; +} + +static int _cffi_const_KEY_K(unsigned long long *o) +{ + int n = (KEY_K) <= 0; + *o = (unsigned long long)((KEY_K) | 0); /* check that KEY_K is an integer */ + return n; +} + +static int _cffi_const_KEY_L(unsigned long long *o) +{ + int n = (KEY_L) <= 0; + *o = (unsigned long long)((KEY_L) | 0); /* check that KEY_L is an integer */ + return n; +} + +static int _cffi_const_KEY_M(unsigned long long *o) +{ + int n = (KEY_M) <= 0; + *o = (unsigned long long)((KEY_M) | 0); /* check that KEY_M is an integer */ + return n; +} + +static int _cffi_const_KEY_N(unsigned long long *o) +{ + int n = (KEY_N) <= 0; + *o = (unsigned long long)((KEY_N) | 0); /* check that KEY_N is an integer */ + return n; +} + +static int _cffi_const_KEY_O(unsigned long long *o) +{ + int n = (KEY_O) <= 0; + *o = (unsigned long long)((KEY_O) | 0); /* check that KEY_O is an integer */ + return n; +} + +static int _cffi_const_KEY_P(unsigned long long *o) +{ + int n = (KEY_P) <= 0; + *o = (unsigned long long)((KEY_P) | 0); /* check that KEY_P is an integer */ + return n; +} + +static int _cffi_const_KEY_Q(unsigned long long *o) +{ + int n = (KEY_Q) <= 0; + *o = (unsigned long long)((KEY_Q) | 0); /* check that KEY_Q is an integer */ + return n; +} + +static int _cffi_const_KEY_R(unsigned long long *o) +{ + int n = (KEY_R) <= 0; + *o = (unsigned long long)((KEY_R) | 0); /* check that KEY_R is an integer */ + return n; +} + +static int _cffi_const_KEY_S(unsigned long long *o) +{ + int n = (KEY_S) <= 0; + *o = (unsigned long long)((KEY_S) | 0); /* check that KEY_S is an integer */ + return n; +} + +static int _cffi_const_KEY_T(unsigned long long *o) +{ + int n = (KEY_T) <= 0; + *o = (unsigned long long)((KEY_T) | 0); /* check that KEY_T is an integer */ + return n; +} + +static int _cffi_const_KEY_U(unsigned long long *o) +{ + int n = (KEY_U) <= 0; + *o = (unsigned long long)((KEY_U) | 0); /* check that KEY_U is an integer */ + return n; +} + +static int _cffi_const_KEY_V(unsigned long long *o) +{ + int n = (KEY_V) <= 0; + *o = (unsigned long long)((KEY_V) | 0); /* check that KEY_V is an integer */ + return n; +} + +static int _cffi_const_KEY_W(unsigned long long *o) +{ + int n = (KEY_W) <= 0; + *o = (unsigned long long)((KEY_W) | 0); /* check that KEY_W is an integer */ + return n; +} + +static int _cffi_const_KEY_X(unsigned long long *o) +{ + int n = (KEY_X) <= 0; + *o = (unsigned long long)((KEY_X) | 0); /* check that KEY_X is an integer */ + return n; +} + +static int _cffi_const_KEY_Y(unsigned long long *o) +{ + int n = (KEY_Y) <= 0; + *o = (unsigned long long)((KEY_Y) | 0); /* check that KEY_Y is an integer */ + return n; +} + +static int _cffi_const_KEY_Z(unsigned long long *o) +{ + int n = (KEY_Z) <= 0; + *o = (unsigned long long)((KEY_Z) | 0); /* check that KEY_Z is an integer */ + return n; +} + +static int _cffi_const_KEY_SPACE(unsigned long long *o) +{ + int n = (KEY_SPACE) <= 0; + *o = (unsigned long long)((KEY_SPACE) | 0); /* check that KEY_SPACE is an integer */ + return n; +} + +static int _cffi_const_KEY_ESCAPE(unsigned long long *o) +{ + int n = (KEY_ESCAPE) <= 0; + *o = (unsigned long long)((KEY_ESCAPE) | 0); /* check that KEY_ESCAPE is an integer */ + return n; +} + +static int _cffi_const_KEY_ENTER(unsigned long long *o) +{ + int n = (KEY_ENTER) <= 0; + *o = (unsigned long long)((KEY_ENTER) | 0); /* check that KEY_ENTER is an integer */ + return n; +} + +static int _cffi_const_KEY_TAB(unsigned long long *o) +{ + int n = (KEY_TAB) <= 0; + *o = (unsigned long long)((KEY_TAB) | 0); /* check that KEY_TAB is an integer */ + return n; +} + +static int _cffi_const_KEY_BACKSPACE(unsigned long long *o) +{ + int n = (KEY_BACKSPACE) <= 0; + *o = (unsigned long long)((KEY_BACKSPACE) | 0); /* check that KEY_BACKSPACE is an integer */ + return n; +} + +static int _cffi_const_KEY_INSERT(unsigned long long *o) +{ + int n = (KEY_INSERT) <= 0; + *o = (unsigned long long)((KEY_INSERT) | 0); /* check that KEY_INSERT is an integer */ + return n; +} + +static int _cffi_const_KEY_DELETE(unsigned long long *o) +{ + int n = (KEY_DELETE) <= 0; + *o = (unsigned long long)((KEY_DELETE) | 0); /* check that KEY_DELETE is an integer */ + return n; +} + +static int _cffi_const_KEY_RIGHT(unsigned long long *o) +{ + int n = (KEY_RIGHT) <= 0; + *o = (unsigned long long)((KEY_RIGHT) | 0); /* check that KEY_RIGHT is an integer */ + return n; +} + +static int _cffi_const_KEY_LEFT(unsigned long long *o) +{ + int n = (KEY_LEFT) <= 0; + *o = (unsigned long long)((KEY_LEFT) | 0); /* check that KEY_LEFT is an integer */ + return n; +} + +static int _cffi_const_KEY_DOWN(unsigned long long *o) +{ + int n = (KEY_DOWN) <= 0; + *o = (unsigned long long)((KEY_DOWN) | 0); /* check that KEY_DOWN is an integer */ + return n; +} + +static int _cffi_const_KEY_UP(unsigned long long *o) +{ + int n = (KEY_UP) <= 0; + *o = (unsigned long long)((KEY_UP) | 0); /* check that KEY_UP is an integer */ + return n; +} + +static int _cffi_const_KEY_PAGE_UP(unsigned long long *o) +{ + int n = (KEY_PAGE_UP) <= 0; + *o = (unsigned long long)((KEY_PAGE_UP) | 0); /* check that KEY_PAGE_UP is an integer */ + return n; +} + +static int _cffi_const_KEY_PAGE_DOWN(unsigned long long *o) +{ + int n = (KEY_PAGE_DOWN) <= 0; + *o = (unsigned long long)((KEY_PAGE_DOWN) | 0); /* check that KEY_PAGE_DOWN is an integer */ + return n; +} + +static int _cffi_const_KEY_HOME(unsigned long long *o) +{ + int n = (KEY_HOME) <= 0; + *o = (unsigned long long)((KEY_HOME) | 0); /* check that KEY_HOME is an integer */ + return n; +} + +static int _cffi_const_KEY_END(unsigned long long *o) +{ + int n = (KEY_END) <= 0; + *o = (unsigned long long)((KEY_END) | 0); /* check that KEY_END is an integer */ + return n; +} + +static int _cffi_const_KEY_CAPS_LOCK(unsigned long long *o) +{ + int n = (KEY_CAPS_LOCK) <= 0; + *o = (unsigned long long)((KEY_CAPS_LOCK) | 0); /* check that KEY_CAPS_LOCK is an integer */ + return n; +} + +static int _cffi_const_KEY_SCROLL_LOCK(unsigned long long *o) +{ + int n = (KEY_SCROLL_LOCK) <= 0; + *o = (unsigned long long)((KEY_SCROLL_LOCK) | 0); /* check that KEY_SCROLL_LOCK is an integer */ + return n; +} + +static int _cffi_const_KEY_NUM_LOCK(unsigned long long *o) +{ + int n = (KEY_NUM_LOCK) <= 0; + *o = (unsigned long long)((KEY_NUM_LOCK) | 0); /* check that KEY_NUM_LOCK is an integer */ + return n; +} + +static int _cffi_const_KEY_PRINT_SCREEN(unsigned long long *o) +{ + int n = (KEY_PRINT_SCREEN) <= 0; + *o = (unsigned long long)((KEY_PRINT_SCREEN) | 0); /* check that KEY_PRINT_SCREEN is an integer */ + return n; +} + +static int _cffi_const_KEY_PAUSE(unsigned long long *o) +{ + int n = (KEY_PAUSE) <= 0; + *o = (unsigned long long)((KEY_PAUSE) | 0); /* check that KEY_PAUSE is an integer */ + return n; +} + +static int _cffi_const_KEY_F1(unsigned long long *o) +{ + int n = (KEY_F1) <= 0; + *o = (unsigned long long)((KEY_F1) | 0); /* check that KEY_F1 is an integer */ + return n; +} + +static int _cffi_const_KEY_F2(unsigned long long *o) +{ + int n = (KEY_F2) <= 0; + *o = (unsigned long long)((KEY_F2) | 0); /* check that KEY_F2 is an integer */ + return n; +} + +static int _cffi_const_KEY_F3(unsigned long long *o) +{ + int n = (KEY_F3) <= 0; + *o = (unsigned long long)((KEY_F3) | 0); /* check that KEY_F3 is an integer */ + return n; +} + +static int _cffi_const_KEY_F4(unsigned long long *o) +{ + int n = (KEY_F4) <= 0; + *o = (unsigned long long)((KEY_F4) | 0); /* check that KEY_F4 is an integer */ + return n; +} + +static int _cffi_const_KEY_F5(unsigned long long *o) +{ + int n = (KEY_F5) <= 0; + *o = (unsigned long long)((KEY_F5) | 0); /* check that KEY_F5 is an integer */ + return n; +} + +static int _cffi_const_KEY_F6(unsigned long long *o) +{ + int n = (KEY_F6) <= 0; + *o = (unsigned long long)((KEY_F6) | 0); /* check that KEY_F6 is an integer */ + return n; +} + +static int _cffi_const_KEY_F7(unsigned long long *o) +{ + int n = (KEY_F7) <= 0; + *o = (unsigned long long)((KEY_F7) | 0); /* check that KEY_F7 is an integer */ + return n; +} + +static int _cffi_const_KEY_F8(unsigned long long *o) +{ + int n = (KEY_F8) <= 0; + *o = (unsigned long long)((KEY_F8) | 0); /* check that KEY_F8 is an integer */ + return n; +} + +static int _cffi_const_KEY_F9(unsigned long long *o) +{ + int n = (KEY_F9) <= 0; + *o = (unsigned long long)((KEY_F9) | 0); /* check that KEY_F9 is an integer */ + return n; +} + +static int _cffi_const_KEY_F10(unsigned long long *o) +{ + int n = (KEY_F10) <= 0; + *o = (unsigned long long)((KEY_F10) | 0); /* check that KEY_F10 is an integer */ + return n; +} + +static int _cffi_const_KEY_F11(unsigned long long *o) +{ + int n = (KEY_F11) <= 0; + *o = (unsigned long long)((KEY_F11) | 0); /* check that KEY_F11 is an integer */ + return n; +} + +static int _cffi_const_KEY_F12(unsigned long long *o) +{ + int n = (KEY_F12) <= 0; + *o = (unsigned long long)((KEY_F12) | 0); /* check that KEY_F12 is an integer */ + return n; +} + +static int _cffi_const_KEY_LEFT_SHIFT(unsigned long long *o) +{ + int n = (KEY_LEFT_SHIFT) <= 0; + *o = (unsigned long long)((KEY_LEFT_SHIFT) | 0); /* check that KEY_LEFT_SHIFT is an integer */ + return n; +} + +static int _cffi_const_KEY_LEFT_CONTROL(unsigned long long *o) +{ + int n = (KEY_LEFT_CONTROL) <= 0; + *o = (unsigned long long)((KEY_LEFT_CONTROL) | 0); /* check that KEY_LEFT_CONTROL is an integer */ + return n; +} + +static int _cffi_const_KEY_LEFT_ALT(unsigned long long *o) +{ + int n = (KEY_LEFT_ALT) <= 0; + *o = (unsigned long long)((KEY_LEFT_ALT) | 0); /* check that KEY_LEFT_ALT is an integer */ + return n; +} + +static int _cffi_const_KEY_LEFT_SUPER(unsigned long long *o) +{ + int n = (KEY_LEFT_SUPER) <= 0; + *o = (unsigned long long)((KEY_LEFT_SUPER) | 0); /* check that KEY_LEFT_SUPER is an integer */ + return n; +} + +static int _cffi_const_KEY_RIGHT_SHIFT(unsigned long long *o) +{ + int n = (KEY_RIGHT_SHIFT) <= 0; + *o = (unsigned long long)((KEY_RIGHT_SHIFT) | 0); /* check that KEY_RIGHT_SHIFT is an integer */ + return n; +} + +static int _cffi_const_KEY_RIGHT_CONTROL(unsigned long long *o) +{ + int n = (KEY_RIGHT_CONTROL) <= 0; + *o = (unsigned long long)((KEY_RIGHT_CONTROL) | 0); /* check that KEY_RIGHT_CONTROL is an integer */ + return n; +} + +static int _cffi_const_KEY_RIGHT_ALT(unsigned long long *o) +{ + int n = (KEY_RIGHT_ALT) <= 0; + *o = (unsigned long long)((KEY_RIGHT_ALT) | 0); /* check that KEY_RIGHT_ALT is an integer */ + return n; +} + +static int _cffi_const_KEY_RIGHT_SUPER(unsigned long long *o) +{ + int n = (KEY_RIGHT_SUPER) <= 0; + *o = (unsigned long long)((KEY_RIGHT_SUPER) | 0); /* check that KEY_RIGHT_SUPER is an integer */ + return n; +} + +static int _cffi_const_KEY_KB_MENU(unsigned long long *o) +{ + int n = (KEY_KB_MENU) <= 0; + *o = (unsigned long long)((KEY_KB_MENU) | 0); /* check that KEY_KB_MENU is an integer */ + return n; +} + +static int _cffi_const_KEY_LEFT_BRACKET(unsigned long long *o) +{ + int n = (KEY_LEFT_BRACKET) <= 0; + *o = (unsigned long long)((KEY_LEFT_BRACKET) | 0); /* check that KEY_LEFT_BRACKET is an integer */ + return n; +} + +static int _cffi_const_KEY_BACKSLASH(unsigned long long *o) +{ + int n = (KEY_BACKSLASH) <= 0; + *o = (unsigned long long)((KEY_BACKSLASH) | 0); /* check that KEY_BACKSLASH is an integer */ + return n; +} + +static int _cffi_const_KEY_RIGHT_BRACKET(unsigned long long *o) +{ + int n = (KEY_RIGHT_BRACKET) <= 0; + *o = (unsigned long long)((KEY_RIGHT_BRACKET) | 0); /* check that KEY_RIGHT_BRACKET is an integer */ + return n; +} + +static int _cffi_const_KEY_GRAVE(unsigned long long *o) +{ + int n = (KEY_GRAVE) <= 0; + *o = (unsigned long long)((KEY_GRAVE) | 0); /* check that KEY_GRAVE is an integer */ + return n; +} + +static int _cffi_const_KEY_KP_0(unsigned long long *o) +{ + int n = (KEY_KP_0) <= 0; + *o = (unsigned long long)((KEY_KP_0) | 0); /* check that KEY_KP_0 is an integer */ + return n; +} + +static int _cffi_const_KEY_KP_1(unsigned long long *o) +{ + int n = (KEY_KP_1) <= 0; + *o = (unsigned long long)((KEY_KP_1) | 0); /* check that KEY_KP_1 is an integer */ + return n; +} + +static int _cffi_const_KEY_KP_2(unsigned long long *o) +{ + int n = (KEY_KP_2) <= 0; + *o = (unsigned long long)((KEY_KP_2) | 0); /* check that KEY_KP_2 is an integer */ + return n; +} + +static int _cffi_const_KEY_KP_3(unsigned long long *o) +{ + int n = (KEY_KP_3) <= 0; + *o = (unsigned long long)((KEY_KP_3) | 0); /* check that KEY_KP_3 is an integer */ + return n; +} + +static int _cffi_const_KEY_KP_4(unsigned long long *o) +{ + int n = (KEY_KP_4) <= 0; + *o = (unsigned long long)((KEY_KP_4) | 0); /* check that KEY_KP_4 is an integer */ + return n; +} + +static int _cffi_const_KEY_KP_5(unsigned long long *o) +{ + int n = (KEY_KP_5) <= 0; + *o = (unsigned long long)((KEY_KP_5) | 0); /* check that KEY_KP_5 is an integer */ + return n; +} + +static int _cffi_const_KEY_KP_6(unsigned long long *o) +{ + int n = (KEY_KP_6) <= 0; + *o = (unsigned long long)((KEY_KP_6) | 0); /* check that KEY_KP_6 is an integer */ + return n; +} + +static int _cffi_const_KEY_KP_7(unsigned long long *o) +{ + int n = (KEY_KP_7) <= 0; + *o = (unsigned long long)((KEY_KP_7) | 0); /* check that KEY_KP_7 is an integer */ + return n; +} + +static int _cffi_const_KEY_KP_8(unsigned long long *o) +{ + int n = (KEY_KP_8) <= 0; + *o = (unsigned long long)((KEY_KP_8) | 0); /* check that KEY_KP_8 is an integer */ + return n; +} + +static int _cffi_const_KEY_KP_9(unsigned long long *o) +{ + int n = (KEY_KP_9) <= 0; + *o = (unsigned long long)((KEY_KP_9) | 0); /* check that KEY_KP_9 is an integer */ + return n; +} + +static int _cffi_const_KEY_KP_DECIMAL(unsigned long long *o) +{ + int n = (KEY_KP_DECIMAL) <= 0; + *o = (unsigned long long)((KEY_KP_DECIMAL) | 0); /* check that KEY_KP_DECIMAL is an integer */ + return n; +} + +static int _cffi_const_KEY_KP_DIVIDE(unsigned long long *o) +{ + int n = (KEY_KP_DIVIDE) <= 0; + *o = (unsigned long long)((KEY_KP_DIVIDE) | 0); /* check that KEY_KP_DIVIDE is an integer */ + return n; +} + +static int _cffi_const_KEY_KP_MULTIPLY(unsigned long long *o) +{ + int n = (KEY_KP_MULTIPLY) <= 0; + *o = (unsigned long long)((KEY_KP_MULTIPLY) | 0); /* check that KEY_KP_MULTIPLY is an integer */ + return n; +} + +static int _cffi_const_KEY_KP_SUBTRACT(unsigned long long *o) +{ + int n = (KEY_KP_SUBTRACT) <= 0; + *o = (unsigned long long)((KEY_KP_SUBTRACT) | 0); /* check that KEY_KP_SUBTRACT is an integer */ + return n; +} + +static int _cffi_const_KEY_KP_ADD(unsigned long long *o) +{ + int n = (KEY_KP_ADD) <= 0; + *o = (unsigned long long)((KEY_KP_ADD) | 0); /* check that KEY_KP_ADD is an integer */ + return n; +} + +static int _cffi_const_KEY_KP_ENTER(unsigned long long *o) +{ + int n = (KEY_KP_ENTER) <= 0; + *o = (unsigned long long)((KEY_KP_ENTER) | 0); /* check that KEY_KP_ENTER is an integer */ + return n; +} + +static int _cffi_const_KEY_KP_EQUAL(unsigned long long *o) +{ + int n = (KEY_KP_EQUAL) <= 0; + *o = (unsigned long long)((KEY_KP_EQUAL) | 0); /* check that KEY_KP_EQUAL is an integer */ + return n; +} + +static int _cffi_const_KEY_BACK(unsigned long long *o) +{ + int n = (KEY_BACK) <= 0; + *o = (unsigned long long)((KEY_BACK) | 0); /* check that KEY_BACK is an integer */ + return n; +} + +static int _cffi_const_KEY_MENU(unsigned long long *o) +{ + int n = (KEY_MENU) <= 0; + *o = (unsigned long long)((KEY_MENU) | 0); /* check that KEY_MENU is an integer */ + return n; +} + +static int _cffi_const_KEY_VOLUME_UP(unsigned long long *o) +{ + int n = (KEY_VOLUME_UP) <= 0; + *o = (unsigned long long)((KEY_VOLUME_UP) | 0); /* check that KEY_VOLUME_UP is an integer */ + return n; +} + +static int _cffi_const_KEY_VOLUME_DOWN(unsigned long long *o) +{ + int n = (KEY_VOLUME_DOWN) <= 0; + *o = (unsigned long long)((KEY_VOLUME_DOWN) | 0); /* check that KEY_VOLUME_DOWN is an integer */ + return n; +} + +static int _cffi_const_MATERIAL_MAP_ALBEDO(unsigned long long *o) +{ + int n = (MATERIAL_MAP_ALBEDO) <= 0; + *o = (unsigned long long)((MATERIAL_MAP_ALBEDO) | 0); /* check that MATERIAL_MAP_ALBEDO is an integer */ + return n; +} + +static int _cffi_const_MATERIAL_MAP_METALNESS(unsigned long long *o) +{ + int n = (MATERIAL_MAP_METALNESS) <= 0; + *o = (unsigned long long)((MATERIAL_MAP_METALNESS) | 0); /* check that MATERIAL_MAP_METALNESS is an integer */ + return n; +} + +static int _cffi_const_MATERIAL_MAP_NORMAL(unsigned long long *o) +{ + int n = (MATERIAL_MAP_NORMAL) <= 0; + *o = (unsigned long long)((MATERIAL_MAP_NORMAL) | 0); /* check that MATERIAL_MAP_NORMAL is an integer */ + return n; +} + +static int _cffi_const_MATERIAL_MAP_ROUGHNESS(unsigned long long *o) +{ + int n = (MATERIAL_MAP_ROUGHNESS) <= 0; + *o = (unsigned long long)((MATERIAL_MAP_ROUGHNESS) | 0); /* check that MATERIAL_MAP_ROUGHNESS is an integer */ + return n; +} + +static int _cffi_const_MATERIAL_MAP_OCCLUSION(unsigned long long *o) +{ + int n = (MATERIAL_MAP_OCCLUSION) <= 0; + *o = (unsigned long long)((MATERIAL_MAP_OCCLUSION) | 0); /* check that MATERIAL_MAP_OCCLUSION is an integer */ + return n; +} + +static int _cffi_const_MATERIAL_MAP_EMISSION(unsigned long long *o) +{ + int n = (MATERIAL_MAP_EMISSION) <= 0; + *o = (unsigned long long)((MATERIAL_MAP_EMISSION) | 0); /* check that MATERIAL_MAP_EMISSION is an integer */ + return n; +} + +static int _cffi_const_MATERIAL_MAP_HEIGHT(unsigned long long *o) +{ + int n = (MATERIAL_MAP_HEIGHT) <= 0; + *o = (unsigned long long)((MATERIAL_MAP_HEIGHT) | 0); /* check that MATERIAL_MAP_HEIGHT is an integer */ + return n; +} + +static int _cffi_const_MATERIAL_MAP_BRDG(unsigned long long *o) +{ + int n = (MATERIAL_MAP_BRDG) <= 0; + *o = (unsigned long long)((MATERIAL_MAP_BRDG) | 0); /* check that MATERIAL_MAP_BRDG is an integer */ + return n; +} + +static int _cffi_const_MATERIAL_MAP_CUBEMAP(unsigned long long *o) +{ + int n = (MATERIAL_MAP_CUBEMAP) <= 0; + *o = (unsigned long long)((MATERIAL_MAP_CUBEMAP) | 0); /* check that MATERIAL_MAP_CUBEMAP is an integer */ + return n; +} + +static int _cffi_const_MATERIAL_MAP_IRRADIANCE(unsigned long long *o) +{ + int n = (MATERIAL_MAP_IRRADIANCE) <= 0; + *o = (unsigned long long)((MATERIAL_MAP_IRRADIANCE) | 0); /* check that MATERIAL_MAP_IRRADIANCE is an integer */ + return n; +} + +static int _cffi_const_MATERIAL_MAP_PREFILTER(unsigned long long *o) +{ + int n = (MATERIAL_MAP_PREFILTER) <= 0; + *o = (unsigned long long)((MATERIAL_MAP_PREFILTER) | 0); /* check that MATERIAL_MAP_PREFILTER is an integer */ + return n; +} + +static int _cffi_const_MOUSE_LEFT_BUTTON(unsigned long long *o) +{ + int n = (MOUSE_LEFT_BUTTON) <= 0; + *o = (unsigned long long)((MOUSE_LEFT_BUTTON) | 0); /* check that MOUSE_LEFT_BUTTON is an integer */ + return n; +} + +static int _cffi_const_MOUSE_RIGHT_BUTTON(unsigned long long *o) +{ + int n = (MOUSE_RIGHT_BUTTON) <= 0; + *o = (unsigned long long)((MOUSE_RIGHT_BUTTON) | 0); /* check that MOUSE_RIGHT_BUTTON is an integer */ + return n; +} + +static int _cffi_const_MOUSE_MIDDLE_BUTTON(unsigned long long *o) +{ + int n = (MOUSE_MIDDLE_BUTTON) <= 0; + *o = (unsigned long long)((MOUSE_MIDDLE_BUTTON) | 0); /* check that MOUSE_MIDDLE_BUTTON is an integer */ + return n; +} + +static int _cffi_const_MOUSE_CURSOR_DEFAULT(unsigned long long *o) +{ + int n = (MOUSE_CURSOR_DEFAULT) <= 0; + *o = (unsigned long long)((MOUSE_CURSOR_DEFAULT) | 0); /* check that MOUSE_CURSOR_DEFAULT is an integer */ + return n; +} + +static int _cffi_const_MOUSE_CURSOR_ARROW(unsigned long long *o) +{ + int n = (MOUSE_CURSOR_ARROW) <= 0; + *o = (unsigned long long)((MOUSE_CURSOR_ARROW) | 0); /* check that MOUSE_CURSOR_ARROW is an integer */ + return n; +} + +static int _cffi_const_MOUSE_CURSOR_IBEAM(unsigned long long *o) +{ + int n = (MOUSE_CURSOR_IBEAM) <= 0; + *o = (unsigned long long)((MOUSE_CURSOR_IBEAM) | 0); /* check that MOUSE_CURSOR_IBEAM is an integer */ + return n; +} + +static int _cffi_const_MOUSE_CURSOR_CROSSHAIR(unsigned long long *o) +{ + int n = (MOUSE_CURSOR_CROSSHAIR) <= 0; + *o = (unsigned long long)((MOUSE_CURSOR_CROSSHAIR) | 0); /* check that MOUSE_CURSOR_CROSSHAIR is an integer */ + return n; +} + +static int _cffi_const_MOUSE_CURSOR_POINTING_HAND(unsigned long long *o) +{ + int n = (MOUSE_CURSOR_POINTING_HAND) <= 0; + *o = (unsigned long long)((MOUSE_CURSOR_POINTING_HAND) | 0); /* check that MOUSE_CURSOR_POINTING_HAND is an integer */ + return n; +} + +static int _cffi_const_MOUSE_CURSOR_RESIZE_EW(unsigned long long *o) +{ + int n = (MOUSE_CURSOR_RESIZE_EW) <= 0; + *o = (unsigned long long)((MOUSE_CURSOR_RESIZE_EW) | 0); /* check that MOUSE_CURSOR_RESIZE_EW is an integer */ + return n; +} + +static int _cffi_const_MOUSE_CURSOR_RESIZE_NS(unsigned long long *o) +{ + int n = (MOUSE_CURSOR_RESIZE_NS) <= 0; + *o = (unsigned long long)((MOUSE_CURSOR_RESIZE_NS) | 0); /* check that MOUSE_CURSOR_RESIZE_NS is an integer */ + return n; +} + +static int _cffi_const_MOUSE_CURSOR_RESIZE_NWSE(unsigned long long *o) +{ + int n = (MOUSE_CURSOR_RESIZE_NWSE) <= 0; + *o = (unsigned long long)((MOUSE_CURSOR_RESIZE_NWSE) | 0); /* check that MOUSE_CURSOR_RESIZE_NWSE is an integer */ + return n; +} + +static int _cffi_const_MOUSE_CURSOR_RESIZE_NESW(unsigned long long *o) +{ + int n = (MOUSE_CURSOR_RESIZE_NESW) <= 0; + *o = (unsigned long long)((MOUSE_CURSOR_RESIZE_NESW) | 0); /* check that MOUSE_CURSOR_RESIZE_NESW is an integer */ + return n; +} + +static int _cffi_const_MOUSE_CURSOR_RESIZE_ALL(unsigned long long *o) +{ + int n = (MOUSE_CURSOR_RESIZE_ALL) <= 0; + *o = (unsigned long long)((MOUSE_CURSOR_RESIZE_ALL) | 0); /* check that MOUSE_CURSOR_RESIZE_ALL is an integer */ + return n; +} + +static int _cffi_const_MOUSE_CURSOR_NOT_ALLOWED(unsigned long long *o) +{ + int n = (MOUSE_CURSOR_NOT_ALLOWED) <= 0; + *o = (unsigned long long)((MOUSE_CURSOR_NOT_ALLOWED) | 0); /* check that MOUSE_CURSOR_NOT_ALLOWED is an integer */ + return n; +} + +static int _cffi_const_NPATCH_NINE_PATCH(unsigned long long *o) +{ + int n = (NPATCH_NINE_PATCH) <= 0; + *o = (unsigned long long)((NPATCH_NINE_PATCH) | 0); /* check that NPATCH_NINE_PATCH is an integer */ + return n; +} + +static int _cffi_const_NPATCH_THREE_PATCH_VERTICAL(unsigned long long *o) +{ + int n = (NPATCH_THREE_PATCH_VERTICAL) <= 0; + *o = (unsigned long long)((NPATCH_THREE_PATCH_VERTICAL) | 0); /* check that NPATCH_THREE_PATCH_VERTICAL is an integer */ + return n; +} + +static int _cffi_const_NPATCH_THREE_PATCH_HORIZONTAL(unsigned long long *o) +{ + int n = (NPATCH_THREE_PATCH_HORIZONTAL) <= 0; + *o = (unsigned long long)((NPATCH_THREE_PATCH_HORIZONTAL) | 0); /* check that NPATCH_THREE_PATCH_HORIZONTAL is an integer */ + return n; +} + +static int _cffi_const_PIXELFORMAT_UNCOMPRESSED_GRAYSCALE(unsigned long long *o) +{ + int n = (PIXELFORMAT_UNCOMPRESSED_GRAYSCALE) <= 0; + *o = (unsigned long long)((PIXELFORMAT_UNCOMPRESSED_GRAYSCALE) | 0); /* check that PIXELFORMAT_UNCOMPRESSED_GRAYSCALE is an integer */ + return n; +} + +static int _cffi_const_PIXELFORMAT_UNCOMPRESSED_GRAY_ALPHA(unsigned long long *o) +{ + int n = (PIXELFORMAT_UNCOMPRESSED_GRAY_ALPHA) <= 0; + *o = (unsigned long long)((PIXELFORMAT_UNCOMPRESSED_GRAY_ALPHA) | 0); /* check that PIXELFORMAT_UNCOMPRESSED_GRAY_ALPHA is an integer */ + return n; +} + +static int _cffi_const_PIXELFORMAT_UNCOMPRESSED_R5G6B5(unsigned long long *o) +{ + int n = (PIXELFORMAT_UNCOMPRESSED_R5G6B5) <= 0; + *o = (unsigned long long)((PIXELFORMAT_UNCOMPRESSED_R5G6B5) | 0); /* check that PIXELFORMAT_UNCOMPRESSED_R5G6B5 is an integer */ + return n; +} + +static int _cffi_const_PIXELFORMAT_UNCOMPRESSED_R8G8B8(unsigned long long *o) +{ + int n = (PIXELFORMAT_UNCOMPRESSED_R8G8B8) <= 0; + *o = (unsigned long long)((PIXELFORMAT_UNCOMPRESSED_R8G8B8) | 0); /* check that PIXELFORMAT_UNCOMPRESSED_R8G8B8 is an integer */ + return n; +} + +static int _cffi_const_PIXELFORMAT_UNCOMPRESSED_R5G5B5A1(unsigned long long *o) +{ + int n = (PIXELFORMAT_UNCOMPRESSED_R5G5B5A1) <= 0; + *o = (unsigned long long)((PIXELFORMAT_UNCOMPRESSED_R5G5B5A1) | 0); /* check that PIXELFORMAT_UNCOMPRESSED_R5G5B5A1 is an integer */ + return n; +} + +static int _cffi_const_PIXELFORMAT_UNCOMPRESSED_R4G4B4A4(unsigned long long *o) +{ + int n = (PIXELFORMAT_UNCOMPRESSED_R4G4B4A4) <= 0; + *o = (unsigned long long)((PIXELFORMAT_UNCOMPRESSED_R4G4B4A4) | 0); /* check that PIXELFORMAT_UNCOMPRESSED_R4G4B4A4 is an integer */ + return n; +} + +static int _cffi_const_PIXELFORMAT_UNCOMPRESSED_R8G8B8A8(unsigned long long *o) +{ + int n = (PIXELFORMAT_UNCOMPRESSED_R8G8B8A8) <= 0; + *o = (unsigned long long)((PIXELFORMAT_UNCOMPRESSED_R8G8B8A8) | 0); /* check that PIXELFORMAT_UNCOMPRESSED_R8G8B8A8 is an integer */ + return n; +} + +static int _cffi_const_PIXELFORMAT_UNCOMPRESSED_R32(unsigned long long *o) +{ + int n = (PIXELFORMAT_UNCOMPRESSED_R32) <= 0; + *o = (unsigned long long)((PIXELFORMAT_UNCOMPRESSED_R32) | 0); /* check that PIXELFORMAT_UNCOMPRESSED_R32 is an integer */ + return n; +} + +static int _cffi_const_PIXELFORMAT_UNCOMPRESSED_R32G32B32(unsigned long long *o) +{ + int n = (PIXELFORMAT_UNCOMPRESSED_R32G32B32) <= 0; + *o = (unsigned long long)((PIXELFORMAT_UNCOMPRESSED_R32G32B32) | 0); /* check that PIXELFORMAT_UNCOMPRESSED_R32G32B32 is an integer */ + return n; +} + +static int _cffi_const_PIXELFORMAT_UNCOMPRESSED_R32G32B32A32(unsigned long long *o) +{ + int n = (PIXELFORMAT_UNCOMPRESSED_R32G32B32A32) <= 0; + *o = (unsigned long long)((PIXELFORMAT_UNCOMPRESSED_R32G32B32A32) | 0); /* check that PIXELFORMAT_UNCOMPRESSED_R32G32B32A32 is an integer */ + return n; +} + +static int _cffi_const_PIXELFORMAT_COMPRESSED_DXT1_RGB(unsigned long long *o) +{ + int n = (PIXELFORMAT_COMPRESSED_DXT1_RGB) <= 0; + *o = (unsigned long long)((PIXELFORMAT_COMPRESSED_DXT1_RGB) | 0); /* check that PIXELFORMAT_COMPRESSED_DXT1_RGB is an integer */ + return n; +} + +static int _cffi_const_PIXELFORMAT_COMPRESSED_DXT1_RGBA(unsigned long long *o) +{ + int n = (PIXELFORMAT_COMPRESSED_DXT1_RGBA) <= 0; + *o = (unsigned long long)((PIXELFORMAT_COMPRESSED_DXT1_RGBA) | 0); /* check that PIXELFORMAT_COMPRESSED_DXT1_RGBA is an integer */ + return n; +} + +static int _cffi_const_PIXELFORMAT_COMPRESSED_DXT3_RGBA(unsigned long long *o) +{ + int n = (PIXELFORMAT_COMPRESSED_DXT3_RGBA) <= 0; + *o = (unsigned long long)((PIXELFORMAT_COMPRESSED_DXT3_RGBA) | 0); /* check that PIXELFORMAT_COMPRESSED_DXT3_RGBA is an integer */ + return n; +} + +static int _cffi_const_PIXELFORMAT_COMPRESSED_DXT5_RGBA(unsigned long long *o) +{ + int n = (PIXELFORMAT_COMPRESSED_DXT5_RGBA) <= 0; + *o = (unsigned long long)((PIXELFORMAT_COMPRESSED_DXT5_RGBA) | 0); /* check that PIXELFORMAT_COMPRESSED_DXT5_RGBA is an integer */ + return n; +} + +static int _cffi_const_PIXELFORMAT_COMPRESSED_ETC1_RGB(unsigned long long *o) +{ + int n = (PIXELFORMAT_COMPRESSED_ETC1_RGB) <= 0; + *o = (unsigned long long)((PIXELFORMAT_COMPRESSED_ETC1_RGB) | 0); /* check that PIXELFORMAT_COMPRESSED_ETC1_RGB is an integer */ + return n; +} + +static int _cffi_const_PIXELFORMAT_COMPRESSED_ETC2_RGB(unsigned long long *o) +{ + int n = (PIXELFORMAT_COMPRESSED_ETC2_RGB) <= 0; + *o = (unsigned long long)((PIXELFORMAT_COMPRESSED_ETC2_RGB) | 0); /* check that PIXELFORMAT_COMPRESSED_ETC2_RGB is an integer */ + return n; +} + +static int _cffi_const_PIXELFORMAT_COMPRESSED_ETC2_EAC_RGBA(unsigned long long *o) +{ + int n = (PIXELFORMAT_COMPRESSED_ETC2_EAC_RGBA) <= 0; + *o = (unsigned long long)((PIXELFORMAT_COMPRESSED_ETC2_EAC_RGBA) | 0); /* check that PIXELFORMAT_COMPRESSED_ETC2_EAC_RGBA is an integer */ + return n; +} + +static int _cffi_const_PIXELFORMAT_COMPRESSED_PVRT_RGB(unsigned long long *o) +{ + int n = (PIXELFORMAT_COMPRESSED_PVRT_RGB) <= 0; + *o = (unsigned long long)((PIXELFORMAT_COMPRESSED_PVRT_RGB) | 0); /* check that PIXELFORMAT_COMPRESSED_PVRT_RGB is an integer */ + return n; +} + +static int _cffi_const_PIXELFORMAT_COMPRESSED_PVRT_RGBA(unsigned long long *o) +{ + int n = (PIXELFORMAT_COMPRESSED_PVRT_RGBA) <= 0; + *o = (unsigned long long)((PIXELFORMAT_COMPRESSED_PVRT_RGBA) | 0); /* check that PIXELFORMAT_COMPRESSED_PVRT_RGBA is an integer */ + return n; +} + +static int _cffi_const_PIXELFORMAT_COMPRESSED_ASTC_4x4_RGBA(unsigned long long *o) +{ + int n = (PIXELFORMAT_COMPRESSED_ASTC_4x4_RGBA) <= 0; + *o = (unsigned long long)((PIXELFORMAT_COMPRESSED_ASTC_4x4_RGBA) | 0); /* check that PIXELFORMAT_COMPRESSED_ASTC_4x4_RGBA is an integer */ + return n; +} + +static int _cffi_const_PIXELFORMAT_COMPRESSED_ASTC_8x8_RGBA(unsigned long long *o) +{ + int n = (PIXELFORMAT_COMPRESSED_ASTC_8x8_RGBA) <= 0; + *o = (unsigned long long)((PIXELFORMAT_COMPRESSED_ASTC_8x8_RGBA) | 0); /* check that PIXELFORMAT_COMPRESSED_ASTC_8x8_RGBA is an integer */ + return n; +} + +static int _cffi_const_SHADER_LOC_VERTEX_POSITION(unsigned long long *o) +{ + int n = (SHADER_LOC_VERTEX_POSITION) <= 0; + *o = (unsigned long long)((SHADER_LOC_VERTEX_POSITION) | 0); /* check that SHADER_LOC_VERTEX_POSITION is an integer */ + return n; +} + +static int _cffi_const_SHADER_LOC_VERTEX_TEXCOORD01(unsigned long long *o) +{ + int n = (SHADER_LOC_VERTEX_TEXCOORD01) <= 0; + *o = (unsigned long long)((SHADER_LOC_VERTEX_TEXCOORD01) | 0); /* check that SHADER_LOC_VERTEX_TEXCOORD01 is an integer */ + return n; +} + +static int _cffi_const_SHADER_LOC_VERTEX_TEXCOORD02(unsigned long long *o) +{ + int n = (SHADER_LOC_VERTEX_TEXCOORD02) <= 0; + *o = (unsigned long long)((SHADER_LOC_VERTEX_TEXCOORD02) | 0); /* check that SHADER_LOC_VERTEX_TEXCOORD02 is an integer */ + return n; +} + +static int _cffi_const_SHADER_LOC_VERTEX_NORMAL(unsigned long long *o) +{ + int n = (SHADER_LOC_VERTEX_NORMAL) <= 0; + *o = (unsigned long long)((SHADER_LOC_VERTEX_NORMAL) | 0); /* check that SHADER_LOC_VERTEX_NORMAL is an integer */ + return n; +} + +static int _cffi_const_SHADER_LOC_VERTEX_TANGENT(unsigned long long *o) +{ + int n = (SHADER_LOC_VERTEX_TANGENT) <= 0; + *o = (unsigned long long)((SHADER_LOC_VERTEX_TANGENT) | 0); /* check that SHADER_LOC_VERTEX_TANGENT is an integer */ + return n; +} + +static int _cffi_const_SHADER_LOC_VERTEX_COLOR(unsigned long long *o) +{ + int n = (SHADER_LOC_VERTEX_COLOR) <= 0; + *o = (unsigned long long)((SHADER_LOC_VERTEX_COLOR) | 0); /* check that SHADER_LOC_VERTEX_COLOR is an integer */ + return n; +} + +static int _cffi_const_SHADER_LOC_MATRIX_MVP(unsigned long long *o) +{ + int n = (SHADER_LOC_MATRIX_MVP) <= 0; + *o = (unsigned long long)((SHADER_LOC_MATRIX_MVP) | 0); /* check that SHADER_LOC_MATRIX_MVP is an integer */ + return n; +} + +static int _cffi_const_SHADER_LOC_MATRIX_VIEW(unsigned long long *o) +{ + int n = (SHADER_LOC_MATRIX_VIEW) <= 0; + *o = (unsigned long long)((SHADER_LOC_MATRIX_VIEW) | 0); /* check that SHADER_LOC_MATRIX_VIEW is an integer */ + return n; +} + +static int _cffi_const_SHADER_LOC_MATRIX_PROJECTION(unsigned long long *o) +{ + int n = (SHADER_LOC_MATRIX_PROJECTION) <= 0; + *o = (unsigned long long)((SHADER_LOC_MATRIX_PROJECTION) | 0); /* check that SHADER_LOC_MATRIX_PROJECTION is an integer */ + return n; +} + +static int _cffi_const_SHADER_LOC_MATRIX_MODEL(unsigned long long *o) +{ + int n = (SHADER_LOC_MATRIX_MODEL) <= 0; + *o = (unsigned long long)((SHADER_LOC_MATRIX_MODEL) | 0); /* check that SHADER_LOC_MATRIX_MODEL is an integer */ + return n; +} + +static int _cffi_const_SHADER_LOC_MATRIX_NORMAL(unsigned long long *o) +{ + int n = (SHADER_LOC_MATRIX_NORMAL) <= 0; + *o = (unsigned long long)((SHADER_LOC_MATRIX_NORMAL) | 0); /* check that SHADER_LOC_MATRIX_NORMAL is an integer */ + return n; +} + +static int _cffi_const_SHADER_LOC_VECTOR_VIEW(unsigned long long *o) +{ + int n = (SHADER_LOC_VECTOR_VIEW) <= 0; + *o = (unsigned long long)((SHADER_LOC_VECTOR_VIEW) | 0); /* check that SHADER_LOC_VECTOR_VIEW is an integer */ + return n; +} + +static int _cffi_const_SHADER_LOC_COLOR_DIFFUSE(unsigned long long *o) +{ + int n = (SHADER_LOC_COLOR_DIFFUSE) <= 0; + *o = (unsigned long long)((SHADER_LOC_COLOR_DIFFUSE) | 0); /* check that SHADER_LOC_COLOR_DIFFUSE is an integer */ + return n; +} + +static int _cffi_const_SHADER_LOC_COLOR_SPECULAR(unsigned long long *o) +{ + int n = (SHADER_LOC_COLOR_SPECULAR) <= 0; + *o = (unsigned long long)((SHADER_LOC_COLOR_SPECULAR) | 0); /* check that SHADER_LOC_COLOR_SPECULAR is an integer */ + return n; +} + +static int _cffi_const_SHADER_LOC_COLOR_AMBIENT(unsigned long long *o) +{ + int n = (SHADER_LOC_COLOR_AMBIENT) <= 0; + *o = (unsigned long long)((SHADER_LOC_COLOR_AMBIENT) | 0); /* check that SHADER_LOC_COLOR_AMBIENT is an integer */ + return n; +} + +static int _cffi_const_SHADER_LOC_MAP_ALBEDO(unsigned long long *o) +{ + int n = (SHADER_LOC_MAP_ALBEDO) <= 0; + *o = (unsigned long long)((SHADER_LOC_MAP_ALBEDO) | 0); /* check that SHADER_LOC_MAP_ALBEDO is an integer */ + return n; +} + +static int _cffi_const_SHADER_LOC_MAP_METALNESS(unsigned long long *o) +{ + int n = (SHADER_LOC_MAP_METALNESS) <= 0; + *o = (unsigned long long)((SHADER_LOC_MAP_METALNESS) | 0); /* check that SHADER_LOC_MAP_METALNESS is an integer */ + return n; +} + +static int _cffi_const_SHADER_LOC_MAP_NORMAL(unsigned long long *o) +{ + int n = (SHADER_LOC_MAP_NORMAL) <= 0; + *o = (unsigned long long)((SHADER_LOC_MAP_NORMAL) | 0); /* check that SHADER_LOC_MAP_NORMAL is an integer */ + return n; +} + +static int _cffi_const_SHADER_LOC_MAP_ROUGHNESS(unsigned long long *o) +{ + int n = (SHADER_LOC_MAP_ROUGHNESS) <= 0; + *o = (unsigned long long)((SHADER_LOC_MAP_ROUGHNESS) | 0); /* check that SHADER_LOC_MAP_ROUGHNESS is an integer */ + return n; +} + +static int _cffi_const_SHADER_LOC_MAP_OCCLUSION(unsigned long long *o) +{ + int n = (SHADER_LOC_MAP_OCCLUSION) <= 0; + *o = (unsigned long long)((SHADER_LOC_MAP_OCCLUSION) | 0); /* check that SHADER_LOC_MAP_OCCLUSION is an integer */ + return n; +} + +static int _cffi_const_SHADER_LOC_MAP_EMISSION(unsigned long long *o) +{ + int n = (SHADER_LOC_MAP_EMISSION) <= 0; + *o = (unsigned long long)((SHADER_LOC_MAP_EMISSION) | 0); /* check that SHADER_LOC_MAP_EMISSION is an integer */ + return n; +} + +static int _cffi_const_SHADER_LOC_MAP_HEIGHT(unsigned long long *o) +{ + int n = (SHADER_LOC_MAP_HEIGHT) <= 0; + *o = (unsigned long long)((SHADER_LOC_MAP_HEIGHT) | 0); /* check that SHADER_LOC_MAP_HEIGHT is an integer */ + return n; +} + +static int _cffi_const_SHADER_LOC_MAP_CUBEMAP(unsigned long long *o) +{ + int n = (SHADER_LOC_MAP_CUBEMAP) <= 0; + *o = (unsigned long long)((SHADER_LOC_MAP_CUBEMAP) | 0); /* check that SHADER_LOC_MAP_CUBEMAP is an integer */ + return n; +} + +static int _cffi_const_SHADER_LOC_MAP_IRRADIANCE(unsigned long long *o) +{ + int n = (SHADER_LOC_MAP_IRRADIANCE) <= 0; + *o = (unsigned long long)((SHADER_LOC_MAP_IRRADIANCE) | 0); /* check that SHADER_LOC_MAP_IRRADIANCE is an integer */ + return n; +} + +static int _cffi_const_SHADER_LOC_MAP_PREFILTER(unsigned long long *o) +{ + int n = (SHADER_LOC_MAP_PREFILTER) <= 0; + *o = (unsigned long long)((SHADER_LOC_MAP_PREFILTER) | 0); /* check that SHADER_LOC_MAP_PREFILTER is an integer */ + return n; +} + +static int _cffi_const_SHADER_LOC_MAP_BRDF(unsigned long long *o) +{ + int n = (SHADER_LOC_MAP_BRDF) <= 0; + *o = (unsigned long long)((SHADER_LOC_MAP_BRDF) | 0); /* check that SHADER_LOC_MAP_BRDF is an integer */ + return n; +} + +static int _cffi_const_SHADER_UNIFORM_FLOAT(unsigned long long *o) +{ + int n = (SHADER_UNIFORM_FLOAT) <= 0; + *o = (unsigned long long)((SHADER_UNIFORM_FLOAT) | 0); /* check that SHADER_UNIFORM_FLOAT is an integer */ + return n; +} + +static int _cffi_const_SHADER_UNIFORM_VEC2(unsigned long long *o) +{ + int n = (SHADER_UNIFORM_VEC2) <= 0; + *o = (unsigned long long)((SHADER_UNIFORM_VEC2) | 0); /* check that SHADER_UNIFORM_VEC2 is an integer */ + return n; +} + +static int _cffi_const_SHADER_UNIFORM_VEC3(unsigned long long *o) +{ + int n = (SHADER_UNIFORM_VEC3) <= 0; + *o = (unsigned long long)((SHADER_UNIFORM_VEC3) | 0); /* check that SHADER_UNIFORM_VEC3 is an integer */ + return n; +} + +static int _cffi_const_SHADER_UNIFORM_VEC4(unsigned long long *o) +{ + int n = (SHADER_UNIFORM_VEC4) <= 0; + *o = (unsigned long long)((SHADER_UNIFORM_VEC4) | 0); /* check that SHADER_UNIFORM_VEC4 is an integer */ + return n; +} + +static int _cffi_const_SHADER_UNIFORM_INT(unsigned long long *o) +{ + int n = (SHADER_UNIFORM_INT) <= 0; + *o = (unsigned long long)((SHADER_UNIFORM_INT) | 0); /* check that SHADER_UNIFORM_INT is an integer */ + return n; +} + +static int _cffi_const_SHADER_UNIFORM_IVEC2(unsigned long long *o) +{ + int n = (SHADER_UNIFORM_IVEC2) <= 0; + *o = (unsigned long long)((SHADER_UNIFORM_IVEC2) | 0); /* check that SHADER_UNIFORM_IVEC2 is an integer */ + return n; +} + +static int _cffi_const_SHADER_UNIFORM_IVEC3(unsigned long long *o) +{ + int n = (SHADER_UNIFORM_IVEC3) <= 0; + *o = (unsigned long long)((SHADER_UNIFORM_IVEC3) | 0); /* check that SHADER_UNIFORM_IVEC3 is an integer */ + return n; +} + +static int _cffi_const_SHADER_UNIFORM_IVEC4(unsigned long long *o) +{ + int n = (SHADER_UNIFORM_IVEC4) <= 0; + *o = (unsigned long long)((SHADER_UNIFORM_IVEC4) | 0); /* check that SHADER_UNIFORM_IVEC4 is an integer */ + return n; +} + +static int _cffi_const_SHADER_UNIFORM_SAMPLER2D(unsigned long long *o) +{ + int n = (SHADER_UNIFORM_SAMPLER2D) <= 0; + *o = (unsigned long long)((SHADER_UNIFORM_SAMPLER2D) | 0); /* check that SHADER_UNIFORM_SAMPLER2D is an integer */ + return n; +} + +static int _cffi_const_TEXTURE_FILTER_POINT(unsigned long long *o) +{ + int n = (TEXTURE_FILTER_POINT) <= 0; + *o = (unsigned long long)((TEXTURE_FILTER_POINT) | 0); /* check that TEXTURE_FILTER_POINT is an integer */ + return n; +} + +static int _cffi_const_TEXTURE_FILTER_BILINEAR(unsigned long long *o) +{ + int n = (TEXTURE_FILTER_BILINEAR) <= 0; + *o = (unsigned long long)((TEXTURE_FILTER_BILINEAR) | 0); /* check that TEXTURE_FILTER_BILINEAR is an integer */ + return n; +} + +static int _cffi_const_TEXTURE_FILTER_TRILINEAR(unsigned long long *o) +{ + int n = (TEXTURE_FILTER_TRILINEAR) <= 0; + *o = (unsigned long long)((TEXTURE_FILTER_TRILINEAR) | 0); /* check that TEXTURE_FILTER_TRILINEAR is an integer */ + return n; +} + +static int _cffi_const_TEXTURE_FILTER_ANISOTROPIC_4X(unsigned long long *o) +{ + int n = (TEXTURE_FILTER_ANISOTROPIC_4X) <= 0; + *o = (unsigned long long)((TEXTURE_FILTER_ANISOTROPIC_4X) | 0); /* check that TEXTURE_FILTER_ANISOTROPIC_4X is an integer */ + return n; +} + +static int _cffi_const_TEXTURE_FILTER_ANISOTROPIC_8X(unsigned long long *o) +{ + int n = (TEXTURE_FILTER_ANISOTROPIC_8X) <= 0; + *o = (unsigned long long)((TEXTURE_FILTER_ANISOTROPIC_8X) | 0); /* check that TEXTURE_FILTER_ANISOTROPIC_8X is an integer */ + return n; +} + +static int _cffi_const_TEXTURE_FILTER_ANISOTROPIC_16X(unsigned long long *o) +{ + int n = (TEXTURE_FILTER_ANISOTROPIC_16X) <= 0; + *o = (unsigned long long)((TEXTURE_FILTER_ANISOTROPIC_16X) | 0); /* check that TEXTURE_FILTER_ANISOTROPIC_16X is an integer */ + return n; +} + +static int _cffi_const_TEXTURE_WRAP_REPEAT(unsigned long long *o) +{ + int n = (TEXTURE_WRAP_REPEAT) <= 0; + *o = (unsigned long long)((TEXTURE_WRAP_REPEAT) | 0); /* check that TEXTURE_WRAP_REPEAT is an integer */ + return n; +} + +static int _cffi_const_TEXTURE_WRAP_CLAMP(unsigned long long *o) +{ + int n = (TEXTURE_WRAP_CLAMP) <= 0; + *o = (unsigned long long)((TEXTURE_WRAP_CLAMP) | 0); /* check that TEXTURE_WRAP_CLAMP is an integer */ + return n; +} + +static int _cffi_const_TEXTURE_WRAP_MIRROR_REPEAT(unsigned long long *o) +{ + int n = (TEXTURE_WRAP_MIRROR_REPEAT) <= 0; + *o = (unsigned long long)((TEXTURE_WRAP_MIRROR_REPEAT) | 0); /* check that TEXTURE_WRAP_MIRROR_REPEAT is an integer */ + return n; +} + +static int _cffi_const_TEXTURE_WRAP_MIRROR_CLAMP(unsigned long long *o) +{ + int n = (TEXTURE_WRAP_MIRROR_CLAMP) <= 0; + *o = (unsigned long long)((TEXTURE_WRAP_MIRROR_CLAMP) | 0); /* check that TEXTURE_WRAP_MIRROR_CLAMP is an integer */ + return n; +} + +static int _cffi_const_LOG_ALL(unsigned long long *o) +{ + int n = (LOG_ALL) <= 0; + *o = (unsigned long long)((LOG_ALL) | 0); /* check that LOG_ALL is an integer */ + return n; +} + +static int _cffi_const_LOG_TRACE(unsigned long long *o) +{ + int n = (LOG_TRACE) <= 0; + *o = (unsigned long long)((LOG_TRACE) | 0); /* check that LOG_TRACE is an integer */ + return n; +} + +static int _cffi_const_LOG_DEBUG(unsigned long long *o) +{ + int n = (LOG_DEBUG) <= 0; + *o = (unsigned long long)((LOG_DEBUG) | 0); /* check that LOG_DEBUG is an integer */ + return n; +} + +static int _cffi_const_LOG_INFO(unsigned long long *o) +{ + int n = (LOG_INFO) <= 0; + *o = (unsigned long long)((LOG_INFO) | 0); /* check that LOG_INFO is an integer */ + return n; +} + +static int _cffi_const_LOG_WARNING(unsigned long long *o) +{ + int n = (LOG_WARNING) <= 0; + *o = (unsigned long long)((LOG_WARNING) | 0); /* check that LOG_WARNING is an integer */ + return n; +} + +static int _cffi_const_LOG_ERROR(unsigned long long *o) +{ + int n = (LOG_ERROR) <= 0; + *o = (unsigned long long)((LOG_ERROR) | 0); /* check that LOG_ERROR is an integer */ + return n; +} + +static int _cffi_const_LOG_FATAL(unsigned long long *o) +{ + int n = (LOG_FATAL) <= 0; + *o = (unsigned long long)((LOG_FATAL) | 0); /* check that LOG_FATAL is an integer */ + return n; +} + +static int _cffi_const_LOG_NONE(unsigned long long *o) +{ + int n = (LOG_NONE) <= 0; + *o = (unsigned long long)((LOG_NONE) | 0); /* check that LOG_NONE is an integer */ + return n; +} + +static void _cffi_d_BeginBlendMode(int x0) +{ + BeginBlendMode(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_BeginBlendMode(PyObject *self, PyObject *arg0) +{ + int x0; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { BeginBlendMode(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_BeginBlendMode _cffi_d_BeginBlendMode +#endif + +static void _cffi_d_BeginDrawing(void) +{ + BeginDrawing(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_BeginDrawing(PyObject *self, PyObject *noarg) +{ + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { BeginDrawing(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_BeginDrawing _cffi_d_BeginDrawing +#endif + +static void _cffi_d_BeginMode2D(Camera2D x0) +{ + BeginMode2D(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_BeginMode2D(PyObject *self, PyObject *arg0) +{ + Camera2D x0; + + if (_cffi_to_c((char *)&x0, _cffi_type(173), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { BeginMode2D(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_BeginMode2D(Camera2D *x0) +{ + { BeginMode2D(*x0); } +} +#endif + +static void _cffi_d_BeginMode3D(Camera3D x0) +{ + BeginMode3D(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_BeginMode3D(PyObject *self, PyObject *arg0) +{ + Camera3D x0; + + if (_cffi_to_c((char *)&x0, _cffi_type(176), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { BeginMode3D(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_BeginMode3D(Camera3D *x0) +{ + { BeginMode3D(*x0); } +} +#endif + +static void _cffi_d_BeginScissorMode(int x0, int x1, int x2, int x3) +{ + BeginScissorMode(x0, x1, x2, x3); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_BeginScissorMode(PyObject *self, PyObject *args) +{ + int x0; + int x1; + int x2; + int x3; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + + if (!PyArg_UnpackTuple(args, "BeginScissorMode", 4, 4, &arg0, &arg1, &arg2, &arg3)) + return NULL; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + x3 = _cffi_to_c_int(arg3, int); + if (x3 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { BeginScissorMode(x0, x1, x2, x3); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_BeginScissorMode _cffi_d_BeginScissorMode +#endif + +static void _cffi_d_BeginShaderMode(Shader x0) +{ + BeginShaderMode(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_BeginShaderMode(PyObject *self, PyObject *arg0) +{ + Shader x0; + + if (_cffi_to_c((char *)&x0, _cffi_type(451), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { BeginShaderMode(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_BeginShaderMode(Shader *x0) +{ + { BeginShaderMode(*x0); } +} +#endif + +static void _cffi_d_BeginTextureMode(RenderTexture x0) +{ + BeginTextureMode(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_BeginTextureMode(PyObject *self, PyObject *arg0) +{ + RenderTexture x0; + + if (_cffi_to_c((char *)&x0, _cffi_type(909), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { BeginTextureMode(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_BeginTextureMode(RenderTexture *x0) +{ + { BeginTextureMode(*x0); } +} +#endif + +static void _cffi_d_BeginVrStereoMode(VrStereoConfig x0) +{ + BeginVrStereoMode(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_BeginVrStereoMode(PyObject *self, PyObject *arg0) +{ + VrStereoConfig x0; + + if (_cffi_to_c((char *)&x0, _cffi_type(1166), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { BeginVrStereoMode(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_BeginVrStereoMode(VrStereoConfig *x0) +{ + { BeginVrStereoMode(*x0); } +} +#endif + +static int _cffi_d_ChangeDirectory(char const * x0) +{ + return ChangeDirectory(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ChangeDirectory(PyObject *self, PyObject *arg0) +{ + char const * x0; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + int result; + PyObject *pyresult; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = ChangeDirectory(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +# define _cffi_f_ChangeDirectory _cffi_d_ChangeDirectory +#endif + +static int _cffi_d_CheckCollisionBoxSphere(BoundingBox x0, Vector3 x1, float x2) +{ + return CheckCollisionBoxSphere(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_CheckCollisionBoxSphere(PyObject *self, PyObject *args) +{ + BoundingBox x0; + Vector3 x1; + float x2; + int result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "CheckCollisionBoxSphere", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(401), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(180), arg1) < 0) + return NULL; + + x2 = (float)_cffi_to_c_float(arg2); + if (x2 == (float)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = CheckCollisionBoxSphere(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +static int _cffi_f_CheckCollisionBoxSphere(BoundingBox *x0, Vector3 *x1, float x2) +{ + int result; + { result = CheckCollisionBoxSphere(*x0, *x1, x2); } + return result; +} +#endif + +static int _cffi_d_CheckCollisionBoxes(BoundingBox x0, BoundingBox x1) +{ + return CheckCollisionBoxes(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_CheckCollisionBoxes(PyObject *self, PyObject *args) +{ + BoundingBox x0; + BoundingBox x1; + int result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "CheckCollisionBoxes", 2, 2, &arg0, &arg1)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(401), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(401), arg1) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = CheckCollisionBoxes(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +static int _cffi_f_CheckCollisionBoxes(BoundingBox *x0, BoundingBox *x1) +{ + int result; + { result = CheckCollisionBoxes(*x0, *x1); } + return result; +} +#endif + +static int _cffi_d_CheckCollisionCircleRec(Vector2 x0, float x1, Rectangle x2) +{ + return CheckCollisionCircleRec(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_CheckCollisionCircleRec(PyObject *self, PyObject *args) +{ + Vector2 x0; + float x1; + Rectangle x2; + int result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "CheckCollisionCircleRec", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(226), arg0) < 0) + return NULL; + + x1 = (float)_cffi_to_c_float(arg1); + if (x1 == (float)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(92), arg2) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = CheckCollisionCircleRec(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +static int _cffi_f_CheckCollisionCircleRec(Vector2 *x0, float x1, Rectangle *x2) +{ + int result; + { result = CheckCollisionCircleRec(*x0, x1, *x2); } + return result; +} +#endif + +static int _cffi_d_CheckCollisionCircles(Vector2 x0, float x1, Vector2 x2, float x3) +{ + return CheckCollisionCircles(x0, x1, x2, x3); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_CheckCollisionCircles(PyObject *self, PyObject *args) +{ + Vector2 x0; + float x1; + Vector2 x2; + float x3; + int result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + + if (!PyArg_UnpackTuple(args, "CheckCollisionCircles", 4, 4, &arg0, &arg1, &arg2, &arg3)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(226), arg0) < 0) + return NULL; + + x1 = (float)_cffi_to_c_float(arg1); + if (x1 == (float)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(226), arg2) < 0) + return NULL; + + x3 = (float)_cffi_to_c_float(arg3); + if (x3 == (float)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = CheckCollisionCircles(x0, x1, x2, x3); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +static int _cffi_f_CheckCollisionCircles(Vector2 *x0, float x1, Vector2 *x2, float x3) +{ + int result; + { result = CheckCollisionCircles(*x0, x1, *x2, x3); } + return result; +} +#endif + +static int _cffi_d_CheckCollisionLines(Vector2 x0, Vector2 x1, Vector2 x2, Vector2 x3, Vector2 * x4) +{ + return CheckCollisionLines(x0, x1, x2, x3, x4); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_CheckCollisionLines(PyObject *self, PyObject *args) +{ + Vector2 x0; + Vector2 x1; + Vector2 x2; + Vector2 x3; + Vector2 * x4; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + int result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + + if (!PyArg_UnpackTuple(args, "CheckCollisionLines", 5, 5, &arg0, &arg1, &arg2, &arg3, &arg4)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(226), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(226), arg1) < 0) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(226), arg2) < 0) + return NULL; + + if (_cffi_to_c((char *)&x3, _cffi_type(226), arg3) < 0) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(472), arg4, (char **)&x4); + if (datasize != 0) { + x4 = ((size_t)datasize) <= 640 ? (Vector2 *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(472), arg4, (char **)&x4, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = CheckCollisionLines(x0, x1, x2, x3, x4); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +static int _cffi_f_CheckCollisionLines(Vector2 *x0, Vector2 *x1, Vector2 *x2, Vector2 *x3, Vector2 * x4) +{ + int result; + { result = CheckCollisionLines(*x0, *x1, *x2, *x3, x4); } + return result; +} +#endif + +static int _cffi_d_CheckCollisionPointCircle(Vector2 x0, Vector2 x1, float x2) +{ + return CheckCollisionPointCircle(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_CheckCollisionPointCircle(PyObject *self, PyObject *args) +{ + Vector2 x0; + Vector2 x1; + float x2; + int result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "CheckCollisionPointCircle", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(226), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(226), arg1) < 0) + return NULL; + + x2 = (float)_cffi_to_c_float(arg2); + if (x2 == (float)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = CheckCollisionPointCircle(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +static int _cffi_f_CheckCollisionPointCircle(Vector2 *x0, Vector2 *x1, float x2) +{ + int result; + { result = CheckCollisionPointCircle(*x0, *x1, x2); } + return result; +} +#endif + +static int _cffi_d_CheckCollisionPointRec(Vector2 x0, Rectangle x1) +{ + return CheckCollisionPointRec(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_CheckCollisionPointRec(PyObject *self, PyObject *args) +{ + Vector2 x0; + Rectangle x1; + int result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "CheckCollisionPointRec", 2, 2, &arg0, &arg1)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(226), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(92), arg1) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = CheckCollisionPointRec(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +static int _cffi_f_CheckCollisionPointRec(Vector2 *x0, Rectangle *x1) +{ + int result; + { result = CheckCollisionPointRec(*x0, *x1); } + return result; +} +#endif + +static int _cffi_d_CheckCollisionPointTriangle(Vector2 x0, Vector2 x1, Vector2 x2, Vector2 x3) +{ + return CheckCollisionPointTriangle(x0, x1, x2, x3); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_CheckCollisionPointTriangle(PyObject *self, PyObject *args) +{ + Vector2 x0; + Vector2 x1; + Vector2 x2; + Vector2 x3; + int result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + + if (!PyArg_UnpackTuple(args, "CheckCollisionPointTriangle", 4, 4, &arg0, &arg1, &arg2, &arg3)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(226), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(226), arg1) < 0) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(226), arg2) < 0) + return NULL; + + if (_cffi_to_c((char *)&x3, _cffi_type(226), arg3) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = CheckCollisionPointTriangle(x0, x1, x2, x3); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +static int _cffi_f_CheckCollisionPointTriangle(Vector2 *x0, Vector2 *x1, Vector2 *x2, Vector2 *x3) +{ + int result; + { result = CheckCollisionPointTriangle(*x0, *x1, *x2, *x3); } + return result; +} +#endif + +static int _cffi_d_CheckCollisionRayBox(Ray x0, BoundingBox x1) +{ + return CheckCollisionRayBox(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_CheckCollisionRayBox(PyObject *self, PyObject *args) +{ + Ray x0; + BoundingBox x1; + int result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "CheckCollisionRayBox", 2, 2, &arg0, &arg1)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(230), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(401), arg1) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = CheckCollisionRayBox(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +static int _cffi_f_CheckCollisionRayBox(Ray *x0, BoundingBox *x1) +{ + int result; + { result = CheckCollisionRayBox(*x0, *x1); } + return result; +} +#endif + +static int _cffi_d_CheckCollisionRaySphere(Ray x0, Vector3 x1, float x2) +{ + return CheckCollisionRaySphere(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_CheckCollisionRaySphere(PyObject *self, PyObject *args) +{ + Ray x0; + Vector3 x1; + float x2; + int result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "CheckCollisionRaySphere", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(230), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(180), arg1) < 0) + return NULL; + + x2 = (float)_cffi_to_c_float(arg2); + if (x2 == (float)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = CheckCollisionRaySphere(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +static int _cffi_f_CheckCollisionRaySphere(Ray *x0, Vector3 *x1, float x2) +{ + int result; + { result = CheckCollisionRaySphere(*x0, *x1, x2); } + return result; +} +#endif + +static int _cffi_d_CheckCollisionRaySphereEx(Ray x0, Vector3 x1, float x2, Vector3 * x3) +{ + return CheckCollisionRaySphereEx(x0, x1, x2, x3); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_CheckCollisionRaySphereEx(PyObject *self, PyObject *args) +{ + Ray x0; + Vector3 x1; + float x2; + Vector3 * x3; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + int result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + + if (!PyArg_UnpackTuple(args, "CheckCollisionRaySphereEx", 4, 4, &arg0, &arg1, &arg2, &arg3)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(230), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(180), arg1) < 0) + return NULL; + + x2 = (float)_cffi_to_c_float(arg2); + if (x2 == (float)-1 && PyErr_Occurred()) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(444), arg3, (char **)&x3); + if (datasize != 0) { + x3 = ((size_t)datasize) <= 640 ? (Vector3 *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(444), arg3, (char **)&x3, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = CheckCollisionRaySphereEx(x0, x1, x2, x3); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +static int _cffi_f_CheckCollisionRaySphereEx(Ray *x0, Vector3 *x1, float x2, Vector3 * x3) +{ + int result; + { result = CheckCollisionRaySphereEx(*x0, *x1, x2, x3); } + return result; +} +#endif + +static int _cffi_d_CheckCollisionRecs(Rectangle x0, Rectangle x1) +{ + return CheckCollisionRecs(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_CheckCollisionRecs(PyObject *self, PyObject *args) +{ + Rectangle x0; + Rectangle x1; + int result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "CheckCollisionRecs", 2, 2, &arg0, &arg1)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(92), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(92), arg1) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = CheckCollisionRecs(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +static int _cffi_f_CheckCollisionRecs(Rectangle *x0, Rectangle *x1) +{ + int result; + { result = CheckCollisionRecs(*x0, *x1); } + return result; +} +#endif + +static int _cffi_d_CheckCollisionSpheres(Vector3 x0, float x1, Vector3 x2, float x3) +{ + return CheckCollisionSpheres(x0, x1, x2, x3); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_CheckCollisionSpheres(PyObject *self, PyObject *args) +{ + Vector3 x0; + float x1; + Vector3 x2; + float x3; + int result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + + if (!PyArg_UnpackTuple(args, "CheckCollisionSpheres", 4, 4, &arg0, &arg1, &arg2, &arg3)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(180), arg0) < 0) + return NULL; + + x1 = (float)_cffi_to_c_float(arg1); + if (x1 == (float)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(180), arg2) < 0) + return NULL; + + x3 = (float)_cffi_to_c_float(arg3); + if (x3 == (float)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = CheckCollisionSpheres(x0, x1, x2, x3); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +static int _cffi_f_CheckCollisionSpheres(Vector3 *x0, float x1, Vector3 *x2, float x3) +{ + int result; + { result = CheckCollisionSpheres(*x0, x1, *x2, x3); } + return result; +} +#endif + +static void _cffi_d_ClearBackground(Color x0) +{ + ClearBackground(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ClearBackground(PyObject *self, PyObject *arg0) +{ + Color x0; + + if (_cffi_to_c((char *)&x0, _cffi_type(25), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { ClearBackground(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_ClearBackground(Color *x0) +{ + { ClearBackground(*x0); } +} +#endif + +static void _cffi_d_ClearDirectoryFiles(void) +{ + ClearDirectoryFiles(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ClearDirectoryFiles(PyObject *self, PyObject *noarg) +{ + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { ClearDirectoryFiles(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_ClearDirectoryFiles _cffi_d_ClearDirectoryFiles +#endif + +static void _cffi_d_ClearDroppedFiles(void) +{ + ClearDroppedFiles(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ClearDroppedFiles(PyObject *self, PyObject *noarg) +{ + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { ClearDroppedFiles(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_ClearDroppedFiles _cffi_d_ClearDroppedFiles +#endif + +static void _cffi_d_ClearWindowState(unsigned int x0) +{ + ClearWindowState(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ClearWindowState(PyObject *self, PyObject *arg0) +{ + unsigned int x0; + + x0 = _cffi_to_c_int(arg0, unsigned int); + if (x0 == (unsigned int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { ClearWindowState(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_ClearWindowState _cffi_d_ClearWindowState +#endif + +static void _cffi_d_CloseAudioDevice(void) +{ + CloseAudioDevice(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_CloseAudioDevice(PyObject *self, PyObject *noarg) +{ + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { CloseAudioDevice(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_CloseAudioDevice _cffi_d_CloseAudioDevice +#endif + +static void _cffi_d_CloseAudioStream(AudioStream x0) +{ + CloseAudioStream(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_CloseAudioStream(PyObject *self, PyObject *arg0) +{ + AudioStream x0; + + if (_cffi_to_c((char *)&x0, _cffi_type(398), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { CloseAudioStream(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_CloseAudioStream(AudioStream *x0) +{ + { CloseAudioStream(*x0); } +} +#endif + +static void _cffi_d_CloseWindow(void) +{ + CloseWindow(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_CloseWindow(PyObject *self, PyObject *noarg) +{ + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { CloseWindow(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_CloseWindow _cffi_d_CloseWindow +#endif + +static char const * _cffi_d_CodepointToUtf8(int x0, int * x1) +{ + return CodepointToUtf8(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_CodepointToUtf8(PyObject *self, PyObject *args) +{ + int x0; + int * x1; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + char const * result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "CodepointToUtf8", 2, 2, &arg0, &arg1)) + return NULL; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(12), arg1, (char **)&x1); + if (datasize != 0) { + x1 = ((size_t)datasize) <= 640 ? (int *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(12), arg1, (char **)&x1, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = CodepointToUtf8(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_pointer((char *)result, _cffi_type(54)); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +# define _cffi_f_CodepointToUtf8 _cffi_d_CodepointToUtf8 +#endif + +static Color _cffi_d_ColorAlpha(Color x0, float x1) +{ + return ColorAlpha(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ColorAlpha(PyObject *self, PyObject *args) +{ + Color x0; + float x1; + Color result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "ColorAlpha", 2, 2, &arg0, &arg1)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(25), arg0) < 0) + return NULL; + + x1 = (float)_cffi_to_c_float(arg1); + if (x1 == (float)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = ColorAlpha(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(25)); + return pyresult; +} +#else +static void _cffi_f_ColorAlpha(Color *result, Color *x0, float x1) +{ + { *result = ColorAlpha(*x0, x1); } +} +#endif + +static Color _cffi_d_ColorAlphaBlend(Color x0, Color x1, Color x2) +{ + return ColorAlphaBlend(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ColorAlphaBlend(PyObject *self, PyObject *args) +{ + Color x0; + Color x1; + Color x2; + Color result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "ColorAlphaBlend", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(25), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(25), arg1) < 0) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(25), arg2) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = ColorAlphaBlend(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(25)); + return pyresult; +} +#else +static void _cffi_f_ColorAlphaBlend(Color *result, Color *x0, Color *x1, Color *x2) +{ + { *result = ColorAlphaBlend(*x0, *x1, *x2); } +} +#endif + +static Color _cffi_d_ColorFromHSV(float x0, float x1, float x2) +{ + return ColorFromHSV(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ColorFromHSV(PyObject *self, PyObject *args) +{ + float x0; + float x1; + float x2; + Color result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "ColorFromHSV", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + x0 = (float)_cffi_to_c_float(arg0); + if (x0 == (float)-1 && PyErr_Occurred()) + return NULL; + + x1 = (float)_cffi_to_c_float(arg1); + if (x1 == (float)-1 && PyErr_Occurred()) + return NULL; + + x2 = (float)_cffi_to_c_float(arg2); + if (x2 == (float)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = ColorFromHSV(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(25)); + return pyresult; +} +#else +static void _cffi_f_ColorFromHSV(Color *result, float x0, float x1, float x2) +{ + { *result = ColorFromHSV(x0, x1, x2); } +} +#endif + +static Color _cffi_d_ColorFromNormalized(Vector4 x0) +{ + return ColorFromNormalized(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ColorFromNormalized(PyObject *self, PyObject *arg0) +{ + Vector4 x0; + Color result; + PyObject *pyresult; + + if (_cffi_to_c((char *)&x0, _cffi_type(34), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = ColorFromNormalized(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(25)); + return pyresult; +} +#else +static void _cffi_f_ColorFromNormalized(Color *result, Vector4 *x0) +{ + { *result = ColorFromNormalized(*x0); } +} +#endif + +static Vector4 _cffi_d_ColorNormalize(Color x0) +{ + return ColorNormalize(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ColorNormalize(PyObject *self, PyObject *arg0) +{ + Color x0; + Vector4 result; + PyObject *pyresult; + + if (_cffi_to_c((char *)&x0, _cffi_type(25), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = ColorNormalize(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(34)); + return pyresult; +} +#else +static void _cffi_f_ColorNormalize(Vector4 *result, Color *x0) +{ + { *result = ColorNormalize(*x0); } +} +#endif + +static Vector3 _cffi_d_ColorToHSV(Color x0) +{ + return ColorToHSV(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ColorToHSV(PyObject *self, PyObject *arg0) +{ + Color x0; + Vector3 result; + PyObject *pyresult; + + if (_cffi_to_c((char *)&x0, _cffi_type(25), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = ColorToHSV(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(180)); + return pyresult; +} +#else +static void _cffi_f_ColorToHSV(Vector3 *result, Color *x0) +{ + { *result = ColorToHSV(*x0); } +} +#endif + +static int _cffi_d_ColorToInt(Color x0) +{ + return ColorToInt(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ColorToInt(PyObject *self, PyObject *arg0) +{ + Color x0; + int result; + PyObject *pyresult; + + if (_cffi_to_c((char *)&x0, _cffi_type(25), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = ColorToInt(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +static int _cffi_f_ColorToInt(Color *x0) +{ + int result; + { result = ColorToInt(*x0); } + return result; +} +#endif + +static unsigned char * _cffi_d_CompressData(unsigned char * x0, int x1, int * x2) +{ + return CompressData(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_CompressData(PyObject *self, PyObject *args) +{ + unsigned char * x0; + int x1; + int * x2; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + unsigned char * result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "CompressData", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(222), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (unsigned char *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(222), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(12), arg2, (char **)&x2); + if (datasize != 0) { + x2 = ((size_t)datasize) <= 640 ? (int *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(12), arg2, (char **)&x2, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = CompressData(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_pointer((char *)result, _cffi_type(222)); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +# define _cffi_f_CompressData _cffi_d_CompressData +#endif + +static unsigned char * _cffi_d_DecompressData(unsigned char * x0, int x1, int * x2) +{ + return DecompressData(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DecompressData(PyObject *self, PyObject *args) +{ + unsigned char * x0; + int x1; + int * x2; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + unsigned char * result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "DecompressData", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(222), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (unsigned char *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(222), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(12), arg2, (char **)&x2); + if (datasize != 0) { + x2 = ((size_t)datasize) <= 640 ? (int *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(12), arg2, (char **)&x2, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = DecompressData(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_pointer((char *)result, _cffi_type(222)); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +# define _cffi_f_DecompressData _cffi_d_DecompressData +#endif + +static int _cffi_d_DirectoryExists(char const * x0) +{ + return DirectoryExists(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DirectoryExists(PyObject *self, PyObject *arg0) +{ + char const * x0; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + int result; + PyObject *pyresult; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = DirectoryExists(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +# define _cffi_f_DirectoryExists _cffi_d_DirectoryExists +#endif + +static void _cffi_d_DisableCursor(void) +{ + DisableCursor(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DisableCursor(PyObject *self, PyObject *noarg) +{ + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DisableCursor(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_DisableCursor _cffi_d_DisableCursor +#endif + +static void _cffi_d_DrawBillboard(Camera3D x0, Texture x1, Vector3 x2, float x3, Color x4) +{ + DrawBillboard(x0, x1, x2, x3, x4); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawBillboard(PyObject *self, PyObject *args) +{ + Camera3D x0; + Texture x1; + Vector3 x2; + float x3; + Color x4; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + + if (!PyArg_UnpackTuple(args, "DrawBillboard", 5, 5, &arg0, &arg1, &arg2, &arg3, &arg4)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(176), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(95), arg1) < 0) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(180), arg2) < 0) + return NULL; + + x3 = (float)_cffi_to_c_float(arg3); + if (x3 == (float)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x4, _cffi_type(25), arg4) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawBillboard(x0, x1, x2, x3, x4); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawBillboard(Camera3D *x0, Texture *x1, Vector3 *x2, float x3, Color *x4) +{ + { DrawBillboard(*x0, *x1, *x2, x3, *x4); } +} +#endif + +static void _cffi_d_DrawBillboardRec(Camera3D x0, Texture x1, Rectangle x2, Vector3 x3, float x4, Color x5) +{ + DrawBillboardRec(x0, x1, x2, x3, x4, x5); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawBillboardRec(PyObject *self, PyObject *args) +{ + Camera3D x0; + Texture x1; + Rectangle x2; + Vector3 x3; + float x4; + Color x5; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + PyObject *arg5; + + if (!PyArg_UnpackTuple(args, "DrawBillboardRec", 6, 6, &arg0, &arg1, &arg2, &arg3, &arg4, &arg5)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(176), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(95), arg1) < 0) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(92), arg2) < 0) + return NULL; + + if (_cffi_to_c((char *)&x3, _cffi_type(180), arg3) < 0) + return NULL; + + x4 = (float)_cffi_to_c_float(arg4); + if (x4 == (float)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x5, _cffi_type(25), arg5) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawBillboardRec(x0, x1, x2, x3, x4, x5); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawBillboardRec(Camera3D *x0, Texture *x1, Rectangle *x2, Vector3 *x3, float x4, Color *x5) +{ + { DrawBillboardRec(*x0, *x1, *x2, *x3, x4, *x5); } +} +#endif + +static void _cffi_d_DrawBoundingBox(BoundingBox x0, Color x1) +{ + DrawBoundingBox(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawBoundingBox(PyObject *self, PyObject *args) +{ + BoundingBox x0; + Color x1; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "DrawBoundingBox", 2, 2, &arg0, &arg1)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(401), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(25), arg1) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawBoundingBox(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawBoundingBox(BoundingBox *x0, Color *x1) +{ + { DrawBoundingBox(*x0, *x1); } +} +#endif + +static void _cffi_d_DrawCircle(int x0, int x1, float x2, Color x3) +{ + DrawCircle(x0, x1, x2, x3); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawCircle(PyObject *self, PyObject *args) +{ + int x0; + int x1; + float x2; + Color x3; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + + if (!PyArg_UnpackTuple(args, "DrawCircle", 4, 4, &arg0, &arg1, &arg2, &arg3)) + return NULL; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + x2 = (float)_cffi_to_c_float(arg2); + if (x2 == (float)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x3, _cffi_type(25), arg3) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawCircle(x0, x1, x2, x3); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawCircle(int x0, int x1, float x2, Color *x3) +{ + { DrawCircle(x0, x1, x2, *x3); } +} +#endif + +static void _cffi_d_DrawCircle3D(Vector3 x0, float x1, Vector3 x2, float x3, Color x4) +{ + DrawCircle3D(x0, x1, x2, x3, x4); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawCircle3D(PyObject *self, PyObject *args) +{ + Vector3 x0; + float x1; + Vector3 x2; + float x3; + Color x4; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + + if (!PyArg_UnpackTuple(args, "DrawCircle3D", 5, 5, &arg0, &arg1, &arg2, &arg3, &arg4)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(180), arg0) < 0) + return NULL; + + x1 = (float)_cffi_to_c_float(arg1); + if (x1 == (float)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(180), arg2) < 0) + return NULL; + + x3 = (float)_cffi_to_c_float(arg3); + if (x3 == (float)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x4, _cffi_type(25), arg4) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawCircle3D(x0, x1, x2, x3, x4); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawCircle3D(Vector3 *x0, float x1, Vector3 *x2, float x3, Color *x4) +{ + { DrawCircle3D(*x0, x1, *x2, x3, *x4); } +} +#endif + +static void _cffi_d_DrawCircleGradient(int x0, int x1, float x2, Color x3, Color x4) +{ + DrawCircleGradient(x0, x1, x2, x3, x4); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawCircleGradient(PyObject *self, PyObject *args) +{ + int x0; + int x1; + float x2; + Color x3; + Color x4; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + + if (!PyArg_UnpackTuple(args, "DrawCircleGradient", 5, 5, &arg0, &arg1, &arg2, &arg3, &arg4)) + return NULL; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + x2 = (float)_cffi_to_c_float(arg2); + if (x2 == (float)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x3, _cffi_type(25), arg3) < 0) + return NULL; + + if (_cffi_to_c((char *)&x4, _cffi_type(25), arg4) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawCircleGradient(x0, x1, x2, x3, x4); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawCircleGradient(int x0, int x1, float x2, Color *x3, Color *x4) +{ + { DrawCircleGradient(x0, x1, x2, *x3, *x4); } +} +#endif + +static void _cffi_d_DrawCircleLines(int x0, int x1, float x2, Color x3) +{ + DrawCircleLines(x0, x1, x2, x3); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawCircleLines(PyObject *self, PyObject *args) +{ + int x0; + int x1; + float x2; + Color x3; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + + if (!PyArg_UnpackTuple(args, "DrawCircleLines", 4, 4, &arg0, &arg1, &arg2, &arg3)) + return NULL; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + x2 = (float)_cffi_to_c_float(arg2); + if (x2 == (float)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x3, _cffi_type(25), arg3) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawCircleLines(x0, x1, x2, x3); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawCircleLines(int x0, int x1, float x2, Color *x3) +{ + { DrawCircleLines(x0, x1, x2, *x3); } +} +#endif + +static void _cffi_d_DrawCircleSector(Vector2 x0, float x1, float x2, float x3, int x4, Color x5) +{ + DrawCircleSector(x0, x1, x2, x3, x4, x5); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawCircleSector(PyObject *self, PyObject *args) +{ + Vector2 x0; + float x1; + float x2; + float x3; + int x4; + Color x5; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + PyObject *arg5; + + if (!PyArg_UnpackTuple(args, "DrawCircleSector", 6, 6, &arg0, &arg1, &arg2, &arg3, &arg4, &arg5)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(226), arg0) < 0) + return NULL; + + x1 = (float)_cffi_to_c_float(arg1); + if (x1 == (float)-1 && PyErr_Occurred()) + return NULL; + + x2 = (float)_cffi_to_c_float(arg2); + if (x2 == (float)-1 && PyErr_Occurred()) + return NULL; + + x3 = (float)_cffi_to_c_float(arg3); + if (x3 == (float)-1 && PyErr_Occurred()) + return NULL; + + x4 = _cffi_to_c_int(arg4, int); + if (x4 == (int)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x5, _cffi_type(25), arg5) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawCircleSector(x0, x1, x2, x3, x4, x5); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawCircleSector(Vector2 *x0, float x1, float x2, float x3, int x4, Color *x5) +{ + { DrawCircleSector(*x0, x1, x2, x3, x4, *x5); } +} +#endif + +static void _cffi_d_DrawCircleSectorLines(Vector2 x0, float x1, float x2, float x3, int x4, Color x5) +{ + DrawCircleSectorLines(x0, x1, x2, x3, x4, x5); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawCircleSectorLines(PyObject *self, PyObject *args) +{ + Vector2 x0; + float x1; + float x2; + float x3; + int x4; + Color x5; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + PyObject *arg5; + + if (!PyArg_UnpackTuple(args, "DrawCircleSectorLines", 6, 6, &arg0, &arg1, &arg2, &arg3, &arg4, &arg5)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(226), arg0) < 0) + return NULL; + + x1 = (float)_cffi_to_c_float(arg1); + if (x1 == (float)-1 && PyErr_Occurred()) + return NULL; + + x2 = (float)_cffi_to_c_float(arg2); + if (x2 == (float)-1 && PyErr_Occurred()) + return NULL; + + x3 = (float)_cffi_to_c_float(arg3); + if (x3 == (float)-1 && PyErr_Occurred()) + return NULL; + + x4 = _cffi_to_c_int(arg4, int); + if (x4 == (int)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x5, _cffi_type(25), arg5) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawCircleSectorLines(x0, x1, x2, x3, x4, x5); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawCircleSectorLines(Vector2 *x0, float x1, float x2, float x3, int x4, Color *x5) +{ + { DrawCircleSectorLines(*x0, x1, x2, x3, x4, *x5); } +} +#endif + +static void _cffi_d_DrawCircleV(Vector2 x0, float x1, Color x2) +{ + DrawCircleV(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawCircleV(PyObject *self, PyObject *args) +{ + Vector2 x0; + float x1; + Color x2; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "DrawCircleV", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(226), arg0) < 0) + return NULL; + + x1 = (float)_cffi_to_c_float(arg1); + if (x1 == (float)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(25), arg2) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawCircleV(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawCircleV(Vector2 *x0, float x1, Color *x2) +{ + { DrawCircleV(*x0, x1, *x2); } +} +#endif + +static void _cffi_d_DrawCube(Vector3 x0, float x1, float x2, float x3, Color x4) +{ + DrawCube(x0, x1, x2, x3, x4); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawCube(PyObject *self, PyObject *args) +{ + Vector3 x0; + float x1; + float x2; + float x3; + Color x4; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + + if (!PyArg_UnpackTuple(args, "DrawCube", 5, 5, &arg0, &arg1, &arg2, &arg3, &arg4)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(180), arg0) < 0) + return NULL; + + x1 = (float)_cffi_to_c_float(arg1); + if (x1 == (float)-1 && PyErr_Occurred()) + return NULL; + + x2 = (float)_cffi_to_c_float(arg2); + if (x2 == (float)-1 && PyErr_Occurred()) + return NULL; + + x3 = (float)_cffi_to_c_float(arg3); + if (x3 == (float)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x4, _cffi_type(25), arg4) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawCube(x0, x1, x2, x3, x4); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawCube(Vector3 *x0, float x1, float x2, float x3, Color *x4) +{ + { DrawCube(*x0, x1, x2, x3, *x4); } +} +#endif + +static void _cffi_d_DrawCubeTexture(Texture x0, Vector3 x1, float x2, float x3, float x4, Color x5) +{ + DrawCubeTexture(x0, x1, x2, x3, x4, x5); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawCubeTexture(PyObject *self, PyObject *args) +{ + Texture x0; + Vector3 x1; + float x2; + float x3; + float x4; + Color x5; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + PyObject *arg5; + + if (!PyArg_UnpackTuple(args, "DrawCubeTexture", 6, 6, &arg0, &arg1, &arg2, &arg3, &arg4, &arg5)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(95), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(180), arg1) < 0) + return NULL; + + x2 = (float)_cffi_to_c_float(arg2); + if (x2 == (float)-1 && PyErr_Occurred()) + return NULL; + + x3 = (float)_cffi_to_c_float(arg3); + if (x3 == (float)-1 && PyErr_Occurred()) + return NULL; + + x4 = (float)_cffi_to_c_float(arg4); + if (x4 == (float)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x5, _cffi_type(25), arg5) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawCubeTexture(x0, x1, x2, x3, x4, x5); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawCubeTexture(Texture *x0, Vector3 *x1, float x2, float x3, float x4, Color *x5) +{ + { DrawCubeTexture(*x0, *x1, x2, x3, x4, *x5); } +} +#endif + +static void _cffi_d_DrawCubeV(Vector3 x0, Vector3 x1, Color x2) +{ + DrawCubeV(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawCubeV(PyObject *self, PyObject *args) +{ + Vector3 x0; + Vector3 x1; + Color x2; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "DrawCubeV", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(180), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(180), arg1) < 0) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(25), arg2) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawCubeV(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawCubeV(Vector3 *x0, Vector3 *x1, Color *x2) +{ + { DrawCubeV(*x0, *x1, *x2); } +} +#endif + +static void _cffi_d_DrawCubeWires(Vector3 x0, float x1, float x2, float x3, Color x4) +{ + DrawCubeWires(x0, x1, x2, x3, x4); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawCubeWires(PyObject *self, PyObject *args) +{ + Vector3 x0; + float x1; + float x2; + float x3; + Color x4; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + + if (!PyArg_UnpackTuple(args, "DrawCubeWires", 5, 5, &arg0, &arg1, &arg2, &arg3, &arg4)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(180), arg0) < 0) + return NULL; + + x1 = (float)_cffi_to_c_float(arg1); + if (x1 == (float)-1 && PyErr_Occurred()) + return NULL; + + x2 = (float)_cffi_to_c_float(arg2); + if (x2 == (float)-1 && PyErr_Occurred()) + return NULL; + + x3 = (float)_cffi_to_c_float(arg3); + if (x3 == (float)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x4, _cffi_type(25), arg4) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawCubeWires(x0, x1, x2, x3, x4); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawCubeWires(Vector3 *x0, float x1, float x2, float x3, Color *x4) +{ + { DrawCubeWires(*x0, x1, x2, x3, *x4); } +} +#endif + +static void _cffi_d_DrawCubeWiresV(Vector3 x0, Vector3 x1, Color x2) +{ + DrawCubeWiresV(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawCubeWiresV(PyObject *self, PyObject *args) +{ + Vector3 x0; + Vector3 x1; + Color x2; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "DrawCubeWiresV", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(180), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(180), arg1) < 0) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(25), arg2) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawCubeWiresV(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawCubeWiresV(Vector3 *x0, Vector3 *x1, Color *x2) +{ + { DrawCubeWiresV(*x0, *x1, *x2); } +} +#endif + +static void _cffi_d_DrawCylinder(Vector3 x0, float x1, float x2, float x3, int x4, Color x5) +{ + DrawCylinder(x0, x1, x2, x3, x4, x5); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawCylinder(PyObject *self, PyObject *args) +{ + Vector3 x0; + float x1; + float x2; + float x3; + int x4; + Color x5; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + PyObject *arg5; + + if (!PyArg_UnpackTuple(args, "DrawCylinder", 6, 6, &arg0, &arg1, &arg2, &arg3, &arg4, &arg5)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(180), arg0) < 0) + return NULL; + + x1 = (float)_cffi_to_c_float(arg1); + if (x1 == (float)-1 && PyErr_Occurred()) + return NULL; + + x2 = (float)_cffi_to_c_float(arg2); + if (x2 == (float)-1 && PyErr_Occurred()) + return NULL; + + x3 = (float)_cffi_to_c_float(arg3); + if (x3 == (float)-1 && PyErr_Occurred()) + return NULL; + + x4 = _cffi_to_c_int(arg4, int); + if (x4 == (int)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x5, _cffi_type(25), arg5) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawCylinder(x0, x1, x2, x3, x4, x5); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawCylinder(Vector3 *x0, float x1, float x2, float x3, int x4, Color *x5) +{ + { DrawCylinder(*x0, x1, x2, x3, x4, *x5); } +} +#endif + +static void _cffi_d_DrawCylinderWires(Vector3 x0, float x1, float x2, float x3, int x4, Color x5) +{ + DrawCylinderWires(x0, x1, x2, x3, x4, x5); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawCylinderWires(PyObject *self, PyObject *args) +{ + Vector3 x0; + float x1; + float x2; + float x3; + int x4; + Color x5; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + PyObject *arg5; + + if (!PyArg_UnpackTuple(args, "DrawCylinderWires", 6, 6, &arg0, &arg1, &arg2, &arg3, &arg4, &arg5)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(180), arg0) < 0) + return NULL; + + x1 = (float)_cffi_to_c_float(arg1); + if (x1 == (float)-1 && PyErr_Occurred()) + return NULL; + + x2 = (float)_cffi_to_c_float(arg2); + if (x2 == (float)-1 && PyErr_Occurred()) + return NULL; + + x3 = (float)_cffi_to_c_float(arg3); + if (x3 == (float)-1 && PyErr_Occurred()) + return NULL; + + x4 = _cffi_to_c_int(arg4, int); + if (x4 == (int)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x5, _cffi_type(25), arg5) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawCylinderWires(x0, x1, x2, x3, x4, x5); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawCylinderWires(Vector3 *x0, float x1, float x2, float x3, int x4, Color *x5) +{ + { DrawCylinderWires(*x0, x1, x2, x3, x4, *x5); } +} +#endif + +static void _cffi_d_DrawEllipse(int x0, int x1, float x2, float x3, Color x4) +{ + DrawEllipse(x0, x1, x2, x3, x4); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawEllipse(PyObject *self, PyObject *args) +{ + int x0; + int x1; + float x2; + float x3; + Color x4; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + + if (!PyArg_UnpackTuple(args, "DrawEllipse", 5, 5, &arg0, &arg1, &arg2, &arg3, &arg4)) + return NULL; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + x2 = (float)_cffi_to_c_float(arg2); + if (x2 == (float)-1 && PyErr_Occurred()) + return NULL; + + x3 = (float)_cffi_to_c_float(arg3); + if (x3 == (float)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x4, _cffi_type(25), arg4) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawEllipse(x0, x1, x2, x3, x4); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawEllipse(int x0, int x1, float x2, float x3, Color *x4) +{ + { DrawEllipse(x0, x1, x2, x3, *x4); } +} +#endif + +static void _cffi_d_DrawEllipseLines(int x0, int x1, float x2, float x3, Color x4) +{ + DrawEllipseLines(x0, x1, x2, x3, x4); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawEllipseLines(PyObject *self, PyObject *args) +{ + int x0; + int x1; + float x2; + float x3; + Color x4; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + + if (!PyArg_UnpackTuple(args, "DrawEllipseLines", 5, 5, &arg0, &arg1, &arg2, &arg3, &arg4)) + return NULL; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + x2 = (float)_cffi_to_c_float(arg2); + if (x2 == (float)-1 && PyErr_Occurred()) + return NULL; + + x3 = (float)_cffi_to_c_float(arg3); + if (x3 == (float)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x4, _cffi_type(25), arg4) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawEllipseLines(x0, x1, x2, x3, x4); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawEllipseLines(int x0, int x1, float x2, float x3, Color *x4) +{ + { DrawEllipseLines(x0, x1, x2, x3, *x4); } +} +#endif + +static void _cffi_d_DrawFPS(int x0, int x1) +{ + DrawFPS(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawFPS(PyObject *self, PyObject *args) +{ + int x0; + int x1; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "DrawFPS", 2, 2, &arg0, &arg1)) + return NULL; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawFPS(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_DrawFPS _cffi_d_DrawFPS +#endif + +static void _cffi_d_DrawGrid(int x0, float x1) +{ + DrawGrid(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawGrid(PyObject *self, PyObject *args) +{ + int x0; + float x1; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "DrawGrid", 2, 2, &arg0, &arg1)) + return NULL; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + x1 = (float)_cffi_to_c_float(arg1); + if (x1 == (float)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawGrid(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_DrawGrid _cffi_d_DrawGrid +#endif + +static void _cffi_d_DrawLine(int x0, int x1, int x2, int x3, Color x4) +{ + DrawLine(x0, x1, x2, x3, x4); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawLine(PyObject *self, PyObject *args) +{ + int x0; + int x1; + int x2; + int x3; + Color x4; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + + if (!PyArg_UnpackTuple(args, "DrawLine", 5, 5, &arg0, &arg1, &arg2, &arg3, &arg4)) + return NULL; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + x3 = _cffi_to_c_int(arg3, int); + if (x3 == (int)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x4, _cffi_type(25), arg4) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawLine(x0, x1, x2, x3, x4); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawLine(int x0, int x1, int x2, int x3, Color *x4) +{ + { DrawLine(x0, x1, x2, x3, *x4); } +} +#endif + +static void _cffi_d_DrawLine3D(Vector3 x0, Vector3 x1, Color x2) +{ + DrawLine3D(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawLine3D(PyObject *self, PyObject *args) +{ + Vector3 x0; + Vector3 x1; + Color x2; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "DrawLine3D", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(180), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(180), arg1) < 0) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(25), arg2) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawLine3D(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawLine3D(Vector3 *x0, Vector3 *x1, Color *x2) +{ + { DrawLine3D(*x0, *x1, *x2); } +} +#endif + +static void _cffi_d_DrawLineBezier(Vector2 x0, Vector2 x1, float x2, Color x3) +{ + DrawLineBezier(x0, x1, x2, x3); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawLineBezier(PyObject *self, PyObject *args) +{ + Vector2 x0; + Vector2 x1; + float x2; + Color x3; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + + if (!PyArg_UnpackTuple(args, "DrawLineBezier", 4, 4, &arg0, &arg1, &arg2, &arg3)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(226), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(226), arg1) < 0) + return NULL; + + x2 = (float)_cffi_to_c_float(arg2); + if (x2 == (float)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x3, _cffi_type(25), arg3) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawLineBezier(x0, x1, x2, x3); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawLineBezier(Vector2 *x0, Vector2 *x1, float x2, Color *x3) +{ + { DrawLineBezier(*x0, *x1, x2, *x3); } +} +#endif + +static void _cffi_d_DrawLineBezierQuad(Vector2 x0, Vector2 x1, Vector2 x2, float x3, Color x4) +{ + DrawLineBezierQuad(x0, x1, x2, x3, x4); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawLineBezierQuad(PyObject *self, PyObject *args) +{ + Vector2 x0; + Vector2 x1; + Vector2 x2; + float x3; + Color x4; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + + if (!PyArg_UnpackTuple(args, "DrawLineBezierQuad", 5, 5, &arg0, &arg1, &arg2, &arg3, &arg4)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(226), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(226), arg1) < 0) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(226), arg2) < 0) + return NULL; + + x3 = (float)_cffi_to_c_float(arg3); + if (x3 == (float)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x4, _cffi_type(25), arg4) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawLineBezierQuad(x0, x1, x2, x3, x4); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawLineBezierQuad(Vector2 *x0, Vector2 *x1, Vector2 *x2, float x3, Color *x4) +{ + { DrawLineBezierQuad(*x0, *x1, *x2, x3, *x4); } +} +#endif + +static void _cffi_d_DrawLineEx(Vector2 x0, Vector2 x1, float x2, Color x3) +{ + DrawLineEx(x0, x1, x2, x3); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawLineEx(PyObject *self, PyObject *args) +{ + Vector2 x0; + Vector2 x1; + float x2; + Color x3; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + + if (!PyArg_UnpackTuple(args, "DrawLineEx", 4, 4, &arg0, &arg1, &arg2, &arg3)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(226), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(226), arg1) < 0) + return NULL; + + x2 = (float)_cffi_to_c_float(arg2); + if (x2 == (float)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x3, _cffi_type(25), arg3) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawLineEx(x0, x1, x2, x3); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawLineEx(Vector2 *x0, Vector2 *x1, float x2, Color *x3) +{ + { DrawLineEx(*x0, *x1, x2, *x3); } +} +#endif + +static void _cffi_d_DrawLineStrip(Vector2 * x0, int x1, Color x2) +{ + DrawLineStrip(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawLineStrip(PyObject *self, PyObject *args) +{ + Vector2 * x0; + int x1; + Color x2; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "DrawLineStrip", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(472), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Vector2 *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(472), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(25), arg2) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawLineStrip(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawLineStrip(Vector2 * x0, int x1, Color *x2) +{ + { DrawLineStrip(x0, x1, *x2); } +} +#endif + +static void _cffi_d_DrawLineV(Vector2 x0, Vector2 x1, Color x2) +{ + DrawLineV(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawLineV(PyObject *self, PyObject *args) +{ + Vector2 x0; + Vector2 x1; + Color x2; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "DrawLineV", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(226), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(226), arg1) < 0) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(25), arg2) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawLineV(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawLineV(Vector2 *x0, Vector2 *x1, Color *x2) +{ + { DrawLineV(*x0, *x1, *x2); } +} +#endif + +static void _cffi_d_DrawMesh(Mesh x0, Material x1, Matrix x2) +{ + DrawMesh(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawMesh(PyObject *self, PyObject *args) +{ + Mesh x0; + Material x1; + Matrix x2; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "DrawMesh", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(6), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(798), arg1) < 0) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(232), arg2) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawMesh(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawMesh(Mesh *x0, Material *x1, Matrix *x2) +{ + { DrawMesh(*x0, *x1, *x2); } +} +#endif + +static void _cffi_d_DrawMeshInstanced(Mesh x0, Material x1, Matrix * x2, int x3) +{ + DrawMeshInstanced(x0, x1, x2, x3); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawMeshInstanced(PyObject *self, PyObject *args) +{ + Mesh x0; + Material x1; + Matrix * x2; + int x3; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + + if (!PyArg_UnpackTuple(args, "DrawMeshInstanced", 4, 4, &arg0, &arg1, &arg2, &arg3)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(6), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(798), arg1) < 0) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(813), arg2, (char **)&x2); + if (datasize != 0) { + x2 = ((size_t)datasize) <= 640 ? (Matrix *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(813), arg2, (char **)&x2, + datasize, &large_args_free) < 0) + return NULL; + } + + x3 = _cffi_to_c_int(arg3, int); + if (x3 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawMeshInstanced(x0, x1, x2, x3); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawMeshInstanced(Mesh *x0, Material *x1, Matrix * x2, int x3) +{ + { DrawMeshInstanced(*x0, *x1, x2, x3); } +} +#endif + +static void _cffi_d_DrawModel(Model x0, Vector3 x1, float x2, Color x3) +{ + DrawModel(x0, x1, x2, x3); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawModel(PyObject *self, PyObject *args) +{ + Model x0; + Vector3 x1; + float x2; + Color x3; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + + if (!PyArg_UnpackTuple(args, "DrawModel", 4, 4, &arg0, &arg1, &arg2, &arg3)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(236), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(180), arg1) < 0) + return NULL; + + x2 = (float)_cffi_to_c_float(arg2); + if (x2 == (float)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x3, _cffi_type(25), arg3) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawModel(x0, x1, x2, x3); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawModel(Model *x0, Vector3 *x1, float x2, Color *x3) +{ + { DrawModel(*x0, *x1, x2, *x3); } +} +#endif + +static void _cffi_d_DrawModelEx(Model x0, Vector3 x1, Vector3 x2, float x3, Vector3 x4, Color x5) +{ + DrawModelEx(x0, x1, x2, x3, x4, x5); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawModelEx(PyObject *self, PyObject *args) +{ + Model x0; + Vector3 x1; + Vector3 x2; + float x3; + Vector3 x4; + Color x5; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + PyObject *arg5; + + if (!PyArg_UnpackTuple(args, "DrawModelEx", 6, 6, &arg0, &arg1, &arg2, &arg3, &arg4, &arg5)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(236), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(180), arg1) < 0) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(180), arg2) < 0) + return NULL; + + x3 = (float)_cffi_to_c_float(arg3); + if (x3 == (float)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x4, _cffi_type(180), arg4) < 0) + return NULL; + + if (_cffi_to_c((char *)&x5, _cffi_type(25), arg5) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawModelEx(x0, x1, x2, x3, x4, x5); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawModelEx(Model *x0, Vector3 *x1, Vector3 *x2, float x3, Vector3 *x4, Color *x5) +{ + { DrawModelEx(*x0, *x1, *x2, x3, *x4, *x5); } +} +#endif + +static void _cffi_d_DrawModelWires(Model x0, Vector3 x1, float x2, Color x3) +{ + DrawModelWires(x0, x1, x2, x3); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawModelWires(PyObject *self, PyObject *args) +{ + Model x0; + Vector3 x1; + float x2; + Color x3; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + + if (!PyArg_UnpackTuple(args, "DrawModelWires", 4, 4, &arg0, &arg1, &arg2, &arg3)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(236), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(180), arg1) < 0) + return NULL; + + x2 = (float)_cffi_to_c_float(arg2); + if (x2 == (float)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x3, _cffi_type(25), arg3) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawModelWires(x0, x1, x2, x3); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawModelWires(Model *x0, Vector3 *x1, float x2, Color *x3) +{ + { DrawModelWires(*x0, *x1, x2, *x3); } +} +#endif + +static void _cffi_d_DrawModelWiresEx(Model x0, Vector3 x1, Vector3 x2, float x3, Vector3 x4, Color x5) +{ + DrawModelWiresEx(x0, x1, x2, x3, x4, x5); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawModelWiresEx(PyObject *self, PyObject *args) +{ + Model x0; + Vector3 x1; + Vector3 x2; + float x3; + Vector3 x4; + Color x5; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + PyObject *arg5; + + if (!PyArg_UnpackTuple(args, "DrawModelWiresEx", 6, 6, &arg0, &arg1, &arg2, &arg3, &arg4, &arg5)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(236), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(180), arg1) < 0) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(180), arg2) < 0) + return NULL; + + x3 = (float)_cffi_to_c_float(arg3); + if (x3 == (float)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x4, _cffi_type(180), arg4) < 0) + return NULL; + + if (_cffi_to_c((char *)&x5, _cffi_type(25), arg5) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawModelWiresEx(x0, x1, x2, x3, x4, x5); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawModelWiresEx(Model *x0, Vector3 *x1, Vector3 *x2, float x3, Vector3 *x4, Color *x5) +{ + { DrawModelWiresEx(*x0, *x1, *x2, x3, *x4, *x5); } +} +#endif + +static void _cffi_d_DrawPixel(int x0, int x1, Color x2) +{ + DrawPixel(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawPixel(PyObject *self, PyObject *args) +{ + int x0; + int x1; + Color x2; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "DrawPixel", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(25), arg2) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawPixel(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawPixel(int x0, int x1, Color *x2) +{ + { DrawPixel(x0, x1, *x2); } +} +#endif + +static void _cffi_d_DrawPixelV(Vector2 x0, Color x1) +{ + DrawPixelV(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawPixelV(PyObject *self, PyObject *args) +{ + Vector2 x0; + Color x1; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "DrawPixelV", 2, 2, &arg0, &arg1)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(226), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(25), arg1) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawPixelV(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawPixelV(Vector2 *x0, Color *x1) +{ + { DrawPixelV(*x0, *x1); } +} +#endif + +static void _cffi_d_DrawPlane(Vector3 x0, Vector2 x1, Color x2) +{ + DrawPlane(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawPlane(PyObject *self, PyObject *args) +{ + Vector3 x0; + Vector2 x1; + Color x2; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "DrawPlane", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(180), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(226), arg1) < 0) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(25), arg2) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawPlane(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawPlane(Vector3 *x0, Vector2 *x1, Color *x2) +{ + { DrawPlane(*x0, *x1, *x2); } +} +#endif + +static void _cffi_d_DrawPoint3D(Vector3 x0, Color x1) +{ + DrawPoint3D(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawPoint3D(PyObject *self, PyObject *args) +{ + Vector3 x0; + Color x1; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "DrawPoint3D", 2, 2, &arg0, &arg1)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(180), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(25), arg1) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawPoint3D(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawPoint3D(Vector3 *x0, Color *x1) +{ + { DrawPoint3D(*x0, *x1); } +} +#endif + +static void _cffi_d_DrawPoly(Vector2 x0, int x1, float x2, float x3, Color x4) +{ + DrawPoly(x0, x1, x2, x3, x4); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawPoly(PyObject *self, PyObject *args) +{ + Vector2 x0; + int x1; + float x2; + float x3; + Color x4; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + + if (!PyArg_UnpackTuple(args, "DrawPoly", 5, 5, &arg0, &arg1, &arg2, &arg3, &arg4)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(226), arg0) < 0) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + x2 = (float)_cffi_to_c_float(arg2); + if (x2 == (float)-1 && PyErr_Occurred()) + return NULL; + + x3 = (float)_cffi_to_c_float(arg3); + if (x3 == (float)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x4, _cffi_type(25), arg4) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawPoly(x0, x1, x2, x3, x4); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawPoly(Vector2 *x0, int x1, float x2, float x3, Color *x4) +{ + { DrawPoly(*x0, x1, x2, x3, *x4); } +} +#endif + +static void _cffi_d_DrawPolyLines(Vector2 x0, int x1, float x2, float x3, Color x4) +{ + DrawPolyLines(x0, x1, x2, x3, x4); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawPolyLines(PyObject *self, PyObject *args) +{ + Vector2 x0; + int x1; + float x2; + float x3; + Color x4; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + + if (!PyArg_UnpackTuple(args, "DrawPolyLines", 5, 5, &arg0, &arg1, &arg2, &arg3, &arg4)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(226), arg0) < 0) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + x2 = (float)_cffi_to_c_float(arg2); + if (x2 == (float)-1 && PyErr_Occurred()) + return NULL; + + x3 = (float)_cffi_to_c_float(arg3); + if (x3 == (float)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x4, _cffi_type(25), arg4) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawPolyLines(x0, x1, x2, x3, x4); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawPolyLines(Vector2 *x0, int x1, float x2, float x3, Color *x4) +{ + { DrawPolyLines(*x0, x1, x2, x3, *x4); } +} +#endif + +static void _cffi_d_DrawRay(Ray x0, Color x1) +{ + DrawRay(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawRay(PyObject *self, PyObject *args) +{ + Ray x0; + Color x1; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "DrawRay", 2, 2, &arg0, &arg1)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(230), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(25), arg1) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawRay(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawRay(Ray *x0, Color *x1) +{ + { DrawRay(*x0, *x1); } +} +#endif + +static void _cffi_d_DrawRectangle(int x0, int x1, int x2, int x3, Color x4) +{ + DrawRectangle(x0, x1, x2, x3, x4); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawRectangle(PyObject *self, PyObject *args) +{ + int x0; + int x1; + int x2; + int x3; + Color x4; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + + if (!PyArg_UnpackTuple(args, "DrawRectangle", 5, 5, &arg0, &arg1, &arg2, &arg3, &arg4)) + return NULL; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + x3 = _cffi_to_c_int(arg3, int); + if (x3 == (int)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x4, _cffi_type(25), arg4) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawRectangle(x0, x1, x2, x3, x4); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawRectangle(int x0, int x1, int x2, int x3, Color *x4) +{ + { DrawRectangle(x0, x1, x2, x3, *x4); } +} +#endif + +static void _cffi_d_DrawRectangleGradientEx(Rectangle x0, Color x1, Color x2, Color x3, Color x4) +{ + DrawRectangleGradientEx(x0, x1, x2, x3, x4); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawRectangleGradientEx(PyObject *self, PyObject *args) +{ + Rectangle x0; + Color x1; + Color x2; + Color x3; + Color x4; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + + if (!PyArg_UnpackTuple(args, "DrawRectangleGradientEx", 5, 5, &arg0, &arg1, &arg2, &arg3, &arg4)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(92), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(25), arg1) < 0) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(25), arg2) < 0) + return NULL; + + if (_cffi_to_c((char *)&x3, _cffi_type(25), arg3) < 0) + return NULL; + + if (_cffi_to_c((char *)&x4, _cffi_type(25), arg4) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawRectangleGradientEx(x0, x1, x2, x3, x4); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawRectangleGradientEx(Rectangle *x0, Color *x1, Color *x2, Color *x3, Color *x4) +{ + { DrawRectangleGradientEx(*x0, *x1, *x2, *x3, *x4); } +} +#endif + +static void _cffi_d_DrawRectangleGradientH(int x0, int x1, int x2, int x3, Color x4, Color x5) +{ + DrawRectangleGradientH(x0, x1, x2, x3, x4, x5); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawRectangleGradientH(PyObject *self, PyObject *args) +{ + int x0; + int x1; + int x2; + int x3; + Color x4; + Color x5; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + PyObject *arg5; + + if (!PyArg_UnpackTuple(args, "DrawRectangleGradientH", 6, 6, &arg0, &arg1, &arg2, &arg3, &arg4, &arg5)) + return NULL; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + x3 = _cffi_to_c_int(arg3, int); + if (x3 == (int)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x4, _cffi_type(25), arg4) < 0) + return NULL; + + if (_cffi_to_c((char *)&x5, _cffi_type(25), arg5) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawRectangleGradientH(x0, x1, x2, x3, x4, x5); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawRectangleGradientH(int x0, int x1, int x2, int x3, Color *x4, Color *x5) +{ + { DrawRectangleGradientH(x0, x1, x2, x3, *x4, *x5); } +} +#endif + +static void _cffi_d_DrawRectangleGradientV(int x0, int x1, int x2, int x3, Color x4, Color x5) +{ + DrawRectangleGradientV(x0, x1, x2, x3, x4, x5); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawRectangleGradientV(PyObject *self, PyObject *args) +{ + int x0; + int x1; + int x2; + int x3; + Color x4; + Color x5; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + PyObject *arg5; + + if (!PyArg_UnpackTuple(args, "DrawRectangleGradientV", 6, 6, &arg0, &arg1, &arg2, &arg3, &arg4, &arg5)) + return NULL; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + x3 = _cffi_to_c_int(arg3, int); + if (x3 == (int)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x4, _cffi_type(25), arg4) < 0) + return NULL; + + if (_cffi_to_c((char *)&x5, _cffi_type(25), arg5) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawRectangleGradientV(x0, x1, x2, x3, x4, x5); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawRectangleGradientV(int x0, int x1, int x2, int x3, Color *x4, Color *x5) +{ + { DrawRectangleGradientV(x0, x1, x2, x3, *x4, *x5); } +} +#endif + +static void _cffi_d_DrawRectangleLines(int x0, int x1, int x2, int x3, Color x4) +{ + DrawRectangleLines(x0, x1, x2, x3, x4); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawRectangleLines(PyObject *self, PyObject *args) +{ + int x0; + int x1; + int x2; + int x3; + Color x4; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + + if (!PyArg_UnpackTuple(args, "DrawRectangleLines", 5, 5, &arg0, &arg1, &arg2, &arg3, &arg4)) + return NULL; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + x3 = _cffi_to_c_int(arg3, int); + if (x3 == (int)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x4, _cffi_type(25), arg4) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawRectangleLines(x0, x1, x2, x3, x4); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawRectangleLines(int x0, int x1, int x2, int x3, Color *x4) +{ + { DrawRectangleLines(x0, x1, x2, x3, *x4); } +} +#endif + +static void _cffi_d_DrawRectangleLinesEx(Rectangle x0, int x1, Color x2) +{ + DrawRectangleLinesEx(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawRectangleLinesEx(PyObject *self, PyObject *args) +{ + Rectangle x0; + int x1; + Color x2; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "DrawRectangleLinesEx", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(92), arg0) < 0) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(25), arg2) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawRectangleLinesEx(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawRectangleLinesEx(Rectangle *x0, int x1, Color *x2) +{ + { DrawRectangleLinesEx(*x0, x1, *x2); } +} +#endif + +static void _cffi_d_DrawRectanglePro(Rectangle x0, Vector2 x1, float x2, Color x3) +{ + DrawRectanglePro(x0, x1, x2, x3); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawRectanglePro(PyObject *self, PyObject *args) +{ + Rectangle x0; + Vector2 x1; + float x2; + Color x3; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + + if (!PyArg_UnpackTuple(args, "DrawRectanglePro", 4, 4, &arg0, &arg1, &arg2, &arg3)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(92), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(226), arg1) < 0) + return NULL; + + x2 = (float)_cffi_to_c_float(arg2); + if (x2 == (float)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x3, _cffi_type(25), arg3) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawRectanglePro(x0, x1, x2, x3); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawRectanglePro(Rectangle *x0, Vector2 *x1, float x2, Color *x3) +{ + { DrawRectanglePro(*x0, *x1, x2, *x3); } +} +#endif + +static void _cffi_d_DrawRectangleRec(Rectangle x0, Color x1) +{ + DrawRectangleRec(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawRectangleRec(PyObject *self, PyObject *args) +{ + Rectangle x0; + Color x1; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "DrawRectangleRec", 2, 2, &arg0, &arg1)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(92), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(25), arg1) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawRectangleRec(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawRectangleRec(Rectangle *x0, Color *x1) +{ + { DrawRectangleRec(*x0, *x1); } +} +#endif + +static void _cffi_d_DrawRectangleRounded(Rectangle x0, float x1, int x2, Color x3) +{ + DrawRectangleRounded(x0, x1, x2, x3); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawRectangleRounded(PyObject *self, PyObject *args) +{ + Rectangle x0; + float x1; + int x2; + Color x3; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + + if (!PyArg_UnpackTuple(args, "DrawRectangleRounded", 4, 4, &arg0, &arg1, &arg2, &arg3)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(92), arg0) < 0) + return NULL; + + x1 = (float)_cffi_to_c_float(arg1); + if (x1 == (float)-1 && PyErr_Occurred()) + return NULL; + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x3, _cffi_type(25), arg3) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawRectangleRounded(x0, x1, x2, x3); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawRectangleRounded(Rectangle *x0, float x1, int x2, Color *x3) +{ + { DrawRectangleRounded(*x0, x1, x2, *x3); } +} +#endif + +static void _cffi_d_DrawRectangleRoundedLines(Rectangle x0, float x1, int x2, int x3, Color x4) +{ + DrawRectangleRoundedLines(x0, x1, x2, x3, x4); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawRectangleRoundedLines(PyObject *self, PyObject *args) +{ + Rectangle x0; + float x1; + int x2; + int x3; + Color x4; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + + if (!PyArg_UnpackTuple(args, "DrawRectangleRoundedLines", 5, 5, &arg0, &arg1, &arg2, &arg3, &arg4)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(92), arg0) < 0) + return NULL; + + x1 = (float)_cffi_to_c_float(arg1); + if (x1 == (float)-1 && PyErr_Occurred()) + return NULL; + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + x3 = _cffi_to_c_int(arg3, int); + if (x3 == (int)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x4, _cffi_type(25), arg4) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawRectangleRoundedLines(x0, x1, x2, x3, x4); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawRectangleRoundedLines(Rectangle *x0, float x1, int x2, int x3, Color *x4) +{ + { DrawRectangleRoundedLines(*x0, x1, x2, x3, *x4); } +} +#endif + +static void _cffi_d_DrawRectangleV(Vector2 x0, Vector2 x1, Color x2) +{ + DrawRectangleV(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawRectangleV(PyObject *self, PyObject *args) +{ + Vector2 x0; + Vector2 x1; + Color x2; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "DrawRectangleV", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(226), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(226), arg1) < 0) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(25), arg2) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawRectangleV(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawRectangleV(Vector2 *x0, Vector2 *x1, Color *x2) +{ + { DrawRectangleV(*x0, *x1, *x2); } +} +#endif + +static void _cffi_d_DrawRing(Vector2 x0, float x1, float x2, float x3, float x4, int x5, Color x6) +{ + DrawRing(x0, x1, x2, x3, x4, x5, x6); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawRing(PyObject *self, PyObject *args) +{ + Vector2 x0; + float x1; + float x2; + float x3; + float x4; + int x5; + Color x6; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + PyObject *arg5; + PyObject *arg6; + + if (!PyArg_UnpackTuple(args, "DrawRing", 7, 7, &arg0, &arg1, &arg2, &arg3, &arg4, &arg5, &arg6)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(226), arg0) < 0) + return NULL; + + x1 = (float)_cffi_to_c_float(arg1); + if (x1 == (float)-1 && PyErr_Occurred()) + return NULL; + + x2 = (float)_cffi_to_c_float(arg2); + if (x2 == (float)-1 && PyErr_Occurred()) + return NULL; + + x3 = (float)_cffi_to_c_float(arg3); + if (x3 == (float)-1 && PyErr_Occurred()) + return NULL; + + x4 = (float)_cffi_to_c_float(arg4); + if (x4 == (float)-1 && PyErr_Occurred()) + return NULL; + + x5 = _cffi_to_c_int(arg5, int); + if (x5 == (int)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x6, _cffi_type(25), arg6) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawRing(x0, x1, x2, x3, x4, x5, x6); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawRing(Vector2 *x0, float x1, float x2, float x3, float x4, int x5, Color *x6) +{ + { DrawRing(*x0, x1, x2, x3, x4, x5, *x6); } +} +#endif + +static void _cffi_d_DrawRingLines(Vector2 x0, float x1, float x2, float x3, float x4, int x5, Color x6) +{ + DrawRingLines(x0, x1, x2, x3, x4, x5, x6); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawRingLines(PyObject *self, PyObject *args) +{ + Vector2 x0; + float x1; + float x2; + float x3; + float x4; + int x5; + Color x6; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + PyObject *arg5; + PyObject *arg6; + + if (!PyArg_UnpackTuple(args, "DrawRingLines", 7, 7, &arg0, &arg1, &arg2, &arg3, &arg4, &arg5, &arg6)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(226), arg0) < 0) + return NULL; + + x1 = (float)_cffi_to_c_float(arg1); + if (x1 == (float)-1 && PyErr_Occurred()) + return NULL; + + x2 = (float)_cffi_to_c_float(arg2); + if (x2 == (float)-1 && PyErr_Occurred()) + return NULL; + + x3 = (float)_cffi_to_c_float(arg3); + if (x3 == (float)-1 && PyErr_Occurred()) + return NULL; + + x4 = (float)_cffi_to_c_float(arg4); + if (x4 == (float)-1 && PyErr_Occurred()) + return NULL; + + x5 = _cffi_to_c_int(arg5, int); + if (x5 == (int)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x6, _cffi_type(25), arg6) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawRingLines(x0, x1, x2, x3, x4, x5, x6); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawRingLines(Vector2 *x0, float x1, float x2, float x3, float x4, int x5, Color *x6) +{ + { DrawRingLines(*x0, x1, x2, x3, x4, x5, *x6); } +} +#endif + +static void _cffi_d_DrawSphere(Vector3 x0, float x1, Color x2) +{ + DrawSphere(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawSphere(PyObject *self, PyObject *args) +{ + Vector3 x0; + float x1; + Color x2; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "DrawSphere", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(180), arg0) < 0) + return NULL; + + x1 = (float)_cffi_to_c_float(arg1); + if (x1 == (float)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(25), arg2) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawSphere(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawSphere(Vector3 *x0, float x1, Color *x2) +{ + { DrawSphere(*x0, x1, *x2); } +} +#endif + +static void _cffi_d_DrawSphereEx(Vector3 x0, float x1, int x2, int x3, Color x4) +{ + DrawSphereEx(x0, x1, x2, x3, x4); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawSphereEx(PyObject *self, PyObject *args) +{ + Vector3 x0; + float x1; + int x2; + int x3; + Color x4; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + + if (!PyArg_UnpackTuple(args, "DrawSphereEx", 5, 5, &arg0, &arg1, &arg2, &arg3, &arg4)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(180), arg0) < 0) + return NULL; + + x1 = (float)_cffi_to_c_float(arg1); + if (x1 == (float)-1 && PyErr_Occurred()) + return NULL; + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + x3 = _cffi_to_c_int(arg3, int); + if (x3 == (int)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x4, _cffi_type(25), arg4) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawSphereEx(x0, x1, x2, x3, x4); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawSphereEx(Vector3 *x0, float x1, int x2, int x3, Color *x4) +{ + { DrawSphereEx(*x0, x1, x2, x3, *x4); } +} +#endif + +static void _cffi_d_DrawSphereWires(Vector3 x0, float x1, int x2, int x3, Color x4) +{ + DrawSphereWires(x0, x1, x2, x3, x4); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawSphereWires(PyObject *self, PyObject *args) +{ + Vector3 x0; + float x1; + int x2; + int x3; + Color x4; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + + if (!PyArg_UnpackTuple(args, "DrawSphereWires", 5, 5, &arg0, &arg1, &arg2, &arg3, &arg4)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(180), arg0) < 0) + return NULL; + + x1 = (float)_cffi_to_c_float(arg1); + if (x1 == (float)-1 && PyErr_Occurred()) + return NULL; + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + x3 = _cffi_to_c_int(arg3, int); + if (x3 == (int)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x4, _cffi_type(25), arg4) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawSphereWires(x0, x1, x2, x3, x4); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawSphereWires(Vector3 *x0, float x1, int x2, int x3, Color *x4) +{ + { DrawSphereWires(*x0, x1, x2, x3, *x4); } +} +#endif + +static void _cffi_d_DrawText(char const * x0, int x1, int x2, int x3, Color x4) +{ + DrawText(x0, x1, x2, x3, x4); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawText(PyObject *self, PyObject *args) +{ + char const * x0; + int x1; + int x2; + int x3; + Color x4; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + + if (!PyArg_UnpackTuple(args, "DrawText", 5, 5, &arg0, &arg1, &arg2, &arg3, &arg4)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + x3 = _cffi_to_c_int(arg3, int); + if (x3 == (int)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x4, _cffi_type(25), arg4) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawText(x0, x1, x2, x3, x4); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawText(char const * x0, int x1, int x2, int x3, Color *x4) +{ + { DrawText(x0, x1, x2, x3, *x4); } +} +#endif + +static void _cffi_d_DrawTextCodepoint(Font x0, int x1, Vector2 x2, float x3, Color x4) +{ + DrawTextCodepoint(x0, x1, x2, x3, x4); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawTextCodepoint(PyObject *self, PyObject *args) +{ + Font x0; + int x1; + Vector2 x2; + float x3; + Color x4; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + + if (!PyArg_UnpackTuple(args, "DrawTextCodepoint", 5, 5, &arg0, &arg1, &arg2, &arg3, &arg4)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(81), arg0) < 0) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(226), arg2) < 0) + return NULL; + + x3 = (float)_cffi_to_c_float(arg3); + if (x3 == (float)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x4, _cffi_type(25), arg4) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawTextCodepoint(x0, x1, x2, x3, x4); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawTextCodepoint(Font *x0, int x1, Vector2 *x2, float x3, Color *x4) +{ + { DrawTextCodepoint(*x0, x1, *x2, x3, *x4); } +} +#endif + +static void _cffi_d_DrawTextEx(Font x0, char const * x1, Vector2 x2, float x3, float x4, Color x5) +{ + DrawTextEx(x0, x1, x2, x3, x4, x5); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawTextEx(PyObject *self, PyObject *args) +{ + Font x0; + char const * x1; + Vector2 x2; + float x3; + float x4; + Color x5; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + PyObject *arg5; + + if (!PyArg_UnpackTuple(args, "DrawTextEx", 6, 6, &arg0, &arg1, &arg2, &arg3, &arg4, &arg5)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(81), arg0) < 0) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg1, (char **)&x1); + if (datasize != 0) { + x1 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg1, (char **)&x1, + datasize, &large_args_free) < 0) + return NULL; + } + + if (_cffi_to_c((char *)&x2, _cffi_type(226), arg2) < 0) + return NULL; + + x3 = (float)_cffi_to_c_float(arg3); + if (x3 == (float)-1 && PyErr_Occurred()) + return NULL; + + x4 = (float)_cffi_to_c_float(arg4); + if (x4 == (float)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x5, _cffi_type(25), arg5) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawTextEx(x0, x1, x2, x3, x4, x5); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawTextEx(Font *x0, char const * x1, Vector2 *x2, float x3, float x4, Color *x5) +{ + { DrawTextEx(*x0, x1, *x2, x3, x4, *x5); } +} +#endif + +static void _cffi_d_DrawTextRec(Font x0, char const * x1, Rectangle x2, float x3, float x4, int x5, Color x6) +{ + DrawTextRec(x0, x1, x2, x3, x4, x5, x6); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawTextRec(PyObject *self, PyObject *args) +{ + Font x0; + char const * x1; + Rectangle x2; + float x3; + float x4; + int x5; + Color x6; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + PyObject *arg5; + PyObject *arg6; + + if (!PyArg_UnpackTuple(args, "DrawTextRec", 7, 7, &arg0, &arg1, &arg2, &arg3, &arg4, &arg5, &arg6)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(81), arg0) < 0) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg1, (char **)&x1); + if (datasize != 0) { + x1 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg1, (char **)&x1, + datasize, &large_args_free) < 0) + return NULL; + } + + if (_cffi_to_c((char *)&x2, _cffi_type(92), arg2) < 0) + return NULL; + + x3 = (float)_cffi_to_c_float(arg3); + if (x3 == (float)-1 && PyErr_Occurred()) + return NULL; + + x4 = (float)_cffi_to_c_float(arg4); + if (x4 == (float)-1 && PyErr_Occurred()) + return NULL; + + x5 = _cffi_to_c_int(arg5, int); + if (x5 == (int)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x6, _cffi_type(25), arg6) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawTextRec(x0, x1, x2, x3, x4, x5, x6); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawTextRec(Font *x0, char const * x1, Rectangle *x2, float x3, float x4, int x5, Color *x6) +{ + { DrawTextRec(*x0, x1, *x2, x3, x4, x5, *x6); } +} +#endif + +static void _cffi_d_DrawTextRecEx(Font x0, char const * x1, Rectangle x2, float x3, float x4, int x5, Color x6, int x7, int x8, Color x9, Color x10) +{ + DrawTextRecEx(x0, x1, x2, x3, x4, x5, x6, x7, x8, x9, x10); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawTextRecEx(PyObject *self, PyObject *args) +{ + Font x0; + char const * x1; + Rectangle x2; + float x3; + float x4; + int x5; + Color x6; + int x7; + int x8; + Color x9; + Color x10; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + PyObject *arg5; + PyObject *arg6; + PyObject *arg7; + PyObject *arg8; + PyObject *arg9; + PyObject *arg10; + + if (!PyArg_UnpackTuple(args, "DrawTextRecEx", 11, 11, &arg0, &arg1, &arg2, &arg3, &arg4, &arg5, &arg6, &arg7, &arg8, &arg9, &arg10)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(81), arg0) < 0) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg1, (char **)&x1); + if (datasize != 0) { + x1 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg1, (char **)&x1, + datasize, &large_args_free) < 0) + return NULL; + } + + if (_cffi_to_c((char *)&x2, _cffi_type(92), arg2) < 0) + return NULL; + + x3 = (float)_cffi_to_c_float(arg3); + if (x3 == (float)-1 && PyErr_Occurred()) + return NULL; + + x4 = (float)_cffi_to_c_float(arg4); + if (x4 == (float)-1 && PyErr_Occurred()) + return NULL; + + x5 = _cffi_to_c_int(arg5, int); + if (x5 == (int)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x6, _cffi_type(25), arg6) < 0) + return NULL; + + x7 = _cffi_to_c_int(arg7, int); + if (x7 == (int)-1 && PyErr_Occurred()) + return NULL; + + x8 = _cffi_to_c_int(arg8, int); + if (x8 == (int)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x9, _cffi_type(25), arg9) < 0) + return NULL; + + if (_cffi_to_c((char *)&x10, _cffi_type(25), arg10) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawTextRecEx(x0, x1, x2, x3, x4, x5, x6, x7, x8, x9, x10); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawTextRecEx(Font *x0, char const * x1, Rectangle *x2, float x3, float x4, int x5, Color *x6, int x7, int x8, Color *x9, Color *x10) +{ + { DrawTextRecEx(*x0, x1, *x2, x3, x4, x5, *x6, x7, x8, *x9, *x10); } +} +#endif + +static void _cffi_d_DrawTexture(Texture x0, int x1, int x2, Color x3) +{ + DrawTexture(x0, x1, x2, x3); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawTexture(PyObject *self, PyObject *args) +{ + Texture x0; + int x1; + int x2; + Color x3; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + + if (!PyArg_UnpackTuple(args, "DrawTexture", 4, 4, &arg0, &arg1, &arg2, &arg3)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(95), arg0) < 0) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x3, _cffi_type(25), arg3) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawTexture(x0, x1, x2, x3); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawTexture(Texture *x0, int x1, int x2, Color *x3) +{ + { DrawTexture(*x0, x1, x2, *x3); } +} +#endif + +static void _cffi_d_DrawTextureEx(Texture x0, Vector2 x1, float x2, float x3, Color x4) +{ + DrawTextureEx(x0, x1, x2, x3, x4); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawTextureEx(PyObject *self, PyObject *args) +{ + Texture x0; + Vector2 x1; + float x2; + float x3; + Color x4; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + + if (!PyArg_UnpackTuple(args, "DrawTextureEx", 5, 5, &arg0, &arg1, &arg2, &arg3, &arg4)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(95), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(226), arg1) < 0) + return NULL; + + x2 = (float)_cffi_to_c_float(arg2); + if (x2 == (float)-1 && PyErr_Occurred()) + return NULL; + + x3 = (float)_cffi_to_c_float(arg3); + if (x3 == (float)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x4, _cffi_type(25), arg4) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawTextureEx(x0, x1, x2, x3, x4); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawTextureEx(Texture *x0, Vector2 *x1, float x2, float x3, Color *x4) +{ + { DrawTextureEx(*x0, *x1, x2, x3, *x4); } +} +#endif + +static void _cffi_d_DrawTextureNPatch(Texture x0, NPatchInfo x1, Rectangle x2, Vector2 x3, float x4, Color x5) +{ + DrawTextureNPatch(x0, x1, x2, x3, x4, x5); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawTextureNPatch(PyObject *self, PyObject *args) +{ + Texture x0; + NPatchInfo x1; + Rectangle x2; + Vector2 x3; + float x4; + Color x5; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + PyObject *arg5; + + if (!PyArg_UnpackTuple(args, "DrawTextureNPatch", 6, 6, &arg0, &arg1, &arg2, &arg3, &arg4, &arg5)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(95), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(957), arg1) < 0) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(92), arg2) < 0) + return NULL; + + if (_cffi_to_c((char *)&x3, _cffi_type(226), arg3) < 0) + return NULL; + + x4 = (float)_cffi_to_c_float(arg4); + if (x4 == (float)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x5, _cffi_type(25), arg5) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawTextureNPatch(x0, x1, x2, x3, x4, x5); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawTextureNPatch(Texture *x0, NPatchInfo *x1, Rectangle *x2, Vector2 *x3, float x4, Color *x5) +{ + { DrawTextureNPatch(*x0, *x1, *x2, *x3, x4, *x5); } +} +#endif + +static void _cffi_d_DrawTexturePoly(Texture x0, Vector2 x1, Vector2 * x2, Vector2 * x3, int x4, Color x5) +{ + DrawTexturePoly(x0, x1, x2, x3, x4, x5); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawTexturePoly(PyObject *self, PyObject *args) +{ + Texture x0; + Vector2 x1; + Vector2 * x2; + Vector2 * x3; + int x4; + Color x5; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + PyObject *arg5; + + if (!PyArg_UnpackTuple(args, "DrawTexturePoly", 6, 6, &arg0, &arg1, &arg2, &arg3, &arg4, &arg5)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(95), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(226), arg1) < 0) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(472), arg2, (char **)&x2); + if (datasize != 0) { + x2 = ((size_t)datasize) <= 640 ? (Vector2 *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(472), arg2, (char **)&x2, + datasize, &large_args_free) < 0) + return NULL; + } + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(472), arg3, (char **)&x3); + if (datasize != 0) { + x3 = ((size_t)datasize) <= 640 ? (Vector2 *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(472), arg3, (char **)&x3, + datasize, &large_args_free) < 0) + return NULL; + } + + x4 = _cffi_to_c_int(arg4, int); + if (x4 == (int)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x5, _cffi_type(25), arg5) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawTexturePoly(x0, x1, x2, x3, x4, x5); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawTexturePoly(Texture *x0, Vector2 *x1, Vector2 * x2, Vector2 * x3, int x4, Color *x5) +{ + { DrawTexturePoly(*x0, *x1, x2, x3, x4, *x5); } +} +#endif + +static void _cffi_d_DrawTexturePro(Texture x0, Rectangle x1, Rectangle x2, Vector2 x3, float x4, Color x5) +{ + DrawTexturePro(x0, x1, x2, x3, x4, x5); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawTexturePro(PyObject *self, PyObject *args) +{ + Texture x0; + Rectangle x1; + Rectangle x2; + Vector2 x3; + float x4; + Color x5; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + PyObject *arg5; + + if (!PyArg_UnpackTuple(args, "DrawTexturePro", 6, 6, &arg0, &arg1, &arg2, &arg3, &arg4, &arg5)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(95), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(92), arg1) < 0) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(92), arg2) < 0) + return NULL; + + if (_cffi_to_c((char *)&x3, _cffi_type(226), arg3) < 0) + return NULL; + + x4 = (float)_cffi_to_c_float(arg4); + if (x4 == (float)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x5, _cffi_type(25), arg5) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawTexturePro(x0, x1, x2, x3, x4, x5); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawTexturePro(Texture *x0, Rectangle *x1, Rectangle *x2, Vector2 *x3, float x4, Color *x5) +{ + { DrawTexturePro(*x0, *x1, *x2, *x3, x4, *x5); } +} +#endif + +static void _cffi_d_DrawTextureQuad(Texture x0, Vector2 x1, Vector2 x2, Rectangle x3, Color x4) +{ + DrawTextureQuad(x0, x1, x2, x3, x4); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawTextureQuad(PyObject *self, PyObject *args) +{ + Texture x0; + Vector2 x1; + Vector2 x2; + Rectangle x3; + Color x4; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + + if (!PyArg_UnpackTuple(args, "DrawTextureQuad", 5, 5, &arg0, &arg1, &arg2, &arg3, &arg4)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(95), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(226), arg1) < 0) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(226), arg2) < 0) + return NULL; + + if (_cffi_to_c((char *)&x3, _cffi_type(92), arg3) < 0) + return NULL; + + if (_cffi_to_c((char *)&x4, _cffi_type(25), arg4) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawTextureQuad(x0, x1, x2, x3, x4); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawTextureQuad(Texture *x0, Vector2 *x1, Vector2 *x2, Rectangle *x3, Color *x4) +{ + { DrawTextureQuad(*x0, *x1, *x2, *x3, *x4); } +} +#endif + +static void _cffi_d_DrawTextureRec(Texture x0, Rectangle x1, Vector2 x2, Color x3) +{ + DrawTextureRec(x0, x1, x2, x3); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawTextureRec(PyObject *self, PyObject *args) +{ + Texture x0; + Rectangle x1; + Vector2 x2; + Color x3; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + + if (!PyArg_UnpackTuple(args, "DrawTextureRec", 4, 4, &arg0, &arg1, &arg2, &arg3)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(95), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(92), arg1) < 0) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(226), arg2) < 0) + return NULL; + + if (_cffi_to_c((char *)&x3, _cffi_type(25), arg3) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawTextureRec(x0, x1, x2, x3); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawTextureRec(Texture *x0, Rectangle *x1, Vector2 *x2, Color *x3) +{ + { DrawTextureRec(*x0, *x1, *x2, *x3); } +} +#endif + +static void _cffi_d_DrawTextureTiled(Texture x0, Rectangle x1, Rectangle x2, Vector2 x3, float x4, float x5, Color x6) +{ + DrawTextureTiled(x0, x1, x2, x3, x4, x5, x6); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawTextureTiled(PyObject *self, PyObject *args) +{ + Texture x0; + Rectangle x1; + Rectangle x2; + Vector2 x3; + float x4; + float x5; + Color x6; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + PyObject *arg5; + PyObject *arg6; + + if (!PyArg_UnpackTuple(args, "DrawTextureTiled", 7, 7, &arg0, &arg1, &arg2, &arg3, &arg4, &arg5, &arg6)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(95), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(92), arg1) < 0) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(92), arg2) < 0) + return NULL; + + if (_cffi_to_c((char *)&x3, _cffi_type(226), arg3) < 0) + return NULL; + + x4 = (float)_cffi_to_c_float(arg4); + if (x4 == (float)-1 && PyErr_Occurred()) + return NULL; + + x5 = (float)_cffi_to_c_float(arg5); + if (x5 == (float)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x6, _cffi_type(25), arg6) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawTextureTiled(x0, x1, x2, x3, x4, x5, x6); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawTextureTiled(Texture *x0, Rectangle *x1, Rectangle *x2, Vector2 *x3, float x4, float x5, Color *x6) +{ + { DrawTextureTiled(*x0, *x1, *x2, *x3, x4, x5, *x6); } +} +#endif + +static void _cffi_d_DrawTextureV(Texture x0, Vector2 x1, Color x2) +{ + DrawTextureV(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawTextureV(PyObject *self, PyObject *args) +{ + Texture x0; + Vector2 x1; + Color x2; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "DrawTextureV", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(95), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(226), arg1) < 0) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(25), arg2) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawTextureV(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawTextureV(Texture *x0, Vector2 *x1, Color *x2) +{ + { DrawTextureV(*x0, *x1, *x2); } +} +#endif + +static void _cffi_d_DrawTriangle(Vector2 x0, Vector2 x1, Vector2 x2, Color x3) +{ + DrawTriangle(x0, x1, x2, x3); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawTriangle(PyObject *self, PyObject *args) +{ + Vector2 x0; + Vector2 x1; + Vector2 x2; + Color x3; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + + if (!PyArg_UnpackTuple(args, "DrawTriangle", 4, 4, &arg0, &arg1, &arg2, &arg3)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(226), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(226), arg1) < 0) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(226), arg2) < 0) + return NULL; + + if (_cffi_to_c((char *)&x3, _cffi_type(25), arg3) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawTriangle(x0, x1, x2, x3); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawTriangle(Vector2 *x0, Vector2 *x1, Vector2 *x2, Color *x3) +{ + { DrawTriangle(*x0, *x1, *x2, *x3); } +} +#endif + +static void _cffi_d_DrawTriangle3D(Vector3 x0, Vector3 x1, Vector3 x2, Color x3) +{ + DrawTriangle3D(x0, x1, x2, x3); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawTriangle3D(PyObject *self, PyObject *args) +{ + Vector3 x0; + Vector3 x1; + Vector3 x2; + Color x3; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + + if (!PyArg_UnpackTuple(args, "DrawTriangle3D", 4, 4, &arg0, &arg1, &arg2, &arg3)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(180), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(180), arg1) < 0) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(180), arg2) < 0) + return NULL; + + if (_cffi_to_c((char *)&x3, _cffi_type(25), arg3) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawTriangle3D(x0, x1, x2, x3); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawTriangle3D(Vector3 *x0, Vector3 *x1, Vector3 *x2, Color *x3) +{ + { DrawTriangle3D(*x0, *x1, *x2, *x3); } +} +#endif + +static void _cffi_d_DrawTriangleFan(Vector2 * x0, int x1, Color x2) +{ + DrawTriangleFan(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawTriangleFan(PyObject *self, PyObject *args) +{ + Vector2 * x0; + int x1; + Color x2; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "DrawTriangleFan", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(472), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Vector2 *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(472), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(25), arg2) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawTriangleFan(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawTriangleFan(Vector2 * x0, int x1, Color *x2) +{ + { DrawTriangleFan(x0, x1, *x2); } +} +#endif + +static void _cffi_d_DrawTriangleLines(Vector2 x0, Vector2 x1, Vector2 x2, Color x3) +{ + DrawTriangleLines(x0, x1, x2, x3); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawTriangleLines(PyObject *self, PyObject *args) +{ + Vector2 x0; + Vector2 x1; + Vector2 x2; + Color x3; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + + if (!PyArg_UnpackTuple(args, "DrawTriangleLines", 4, 4, &arg0, &arg1, &arg2, &arg3)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(226), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(226), arg1) < 0) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(226), arg2) < 0) + return NULL; + + if (_cffi_to_c((char *)&x3, _cffi_type(25), arg3) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawTriangleLines(x0, x1, x2, x3); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawTriangleLines(Vector2 *x0, Vector2 *x1, Vector2 *x2, Color *x3) +{ + { DrawTriangleLines(*x0, *x1, *x2, *x3); } +} +#endif + +static void _cffi_d_DrawTriangleStrip(Vector2 * x0, int x1, Color x2) +{ + DrawTriangleStrip(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawTriangleStrip(PyObject *self, PyObject *args) +{ + Vector2 * x0; + int x1; + Color x2; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "DrawTriangleStrip", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(472), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Vector2 *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(472), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(25), arg2) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawTriangleStrip(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawTriangleStrip(Vector2 * x0, int x1, Color *x2) +{ + { DrawTriangleStrip(x0, x1, *x2); } +} +#endif + +static void _cffi_d_DrawTriangleStrip3D(Vector3 * x0, int x1, Color x2) +{ + DrawTriangleStrip3D(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_DrawTriangleStrip3D(PyObject *self, PyObject *args) +{ + Vector3 * x0; + int x1; + Color x2; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "DrawTriangleStrip3D", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(444), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Vector3 *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(444), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(25), arg2) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { DrawTriangleStrip3D(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_DrawTriangleStrip3D(Vector3 * x0, int x1, Color *x2) +{ + { DrawTriangleStrip3D(x0, x1, *x2); } +} +#endif + +static void _cffi_d_EnableCursor(void) +{ + EnableCursor(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_EnableCursor(PyObject *self, PyObject *noarg) +{ + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { EnableCursor(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_EnableCursor _cffi_d_EnableCursor +#endif + +static void _cffi_d_EndBlendMode(void) +{ + EndBlendMode(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_EndBlendMode(PyObject *self, PyObject *noarg) +{ + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { EndBlendMode(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_EndBlendMode _cffi_d_EndBlendMode +#endif + +static void _cffi_d_EndDrawing(void) +{ + EndDrawing(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_EndDrawing(PyObject *self, PyObject *noarg) +{ + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { EndDrawing(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_EndDrawing _cffi_d_EndDrawing +#endif + +static void _cffi_d_EndMode2D(void) +{ + EndMode2D(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_EndMode2D(PyObject *self, PyObject *noarg) +{ + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { EndMode2D(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_EndMode2D _cffi_d_EndMode2D +#endif + +static void _cffi_d_EndMode3D(void) +{ + EndMode3D(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_EndMode3D(PyObject *self, PyObject *noarg) +{ + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { EndMode3D(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_EndMode3D _cffi_d_EndMode3D +#endif + +static void _cffi_d_EndScissorMode(void) +{ + EndScissorMode(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_EndScissorMode(PyObject *self, PyObject *noarg) +{ + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { EndScissorMode(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_EndScissorMode _cffi_d_EndScissorMode +#endif + +static void _cffi_d_EndShaderMode(void) +{ + EndShaderMode(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_EndShaderMode(PyObject *self, PyObject *noarg) +{ + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { EndShaderMode(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_EndShaderMode _cffi_d_EndShaderMode +#endif + +static void _cffi_d_EndTextureMode(void) +{ + EndTextureMode(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_EndTextureMode(PyObject *self, PyObject *noarg) +{ + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { EndTextureMode(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_EndTextureMode _cffi_d_EndTextureMode +#endif + +static void _cffi_d_EndVrStereoMode(void) +{ + EndVrStereoMode(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_EndVrStereoMode(PyObject *self, PyObject *noarg) +{ + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { EndVrStereoMode(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_EndVrStereoMode _cffi_d_EndVrStereoMode +#endif + +static int _cffi_d_ExportImage(Image x0, char const * x1) +{ + return ExportImage(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ExportImage(PyObject *self, PyObject *args) +{ + Image x0; + char const * x1; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + int result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "ExportImage", 2, 2, &arg0, &arg1)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(17), arg0) < 0) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg1, (char **)&x1); + if (datasize != 0) { + x1 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg1, (char **)&x1, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = ExportImage(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +static int _cffi_f_ExportImage(Image *x0, char const * x1) +{ + int result; + { result = ExportImage(*x0, x1); } + return result; +} +#endif + +static int _cffi_d_ExportImageAsCode(Image x0, char const * x1) +{ + return ExportImageAsCode(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ExportImageAsCode(PyObject *self, PyObject *args) +{ + Image x0; + char const * x1; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + int result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "ExportImageAsCode", 2, 2, &arg0, &arg1)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(17), arg0) < 0) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg1, (char **)&x1); + if (datasize != 0) { + x1 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg1, (char **)&x1, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = ExportImageAsCode(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +static int _cffi_f_ExportImageAsCode(Image *x0, char const * x1) +{ + int result; + { result = ExportImageAsCode(*x0, x1); } + return result; +} +#endif + +static int _cffi_d_ExportMesh(Mesh x0, char const * x1) +{ + return ExportMesh(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ExportMesh(PyObject *self, PyObject *args) +{ + Mesh x0; + char const * x1; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + int result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "ExportMesh", 2, 2, &arg0, &arg1)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(6), arg0) < 0) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg1, (char **)&x1); + if (datasize != 0) { + x1 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg1, (char **)&x1, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = ExportMesh(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +static int _cffi_f_ExportMesh(Mesh *x0, char const * x1) +{ + int result; + { result = ExportMesh(*x0, x1); } + return result; +} +#endif + +static int _cffi_d_ExportWave(Wave x0, char const * x1) +{ + return ExportWave(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ExportWave(PyObject *self, PyObject *args) +{ + Wave x0; + char const * x1; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + int result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "ExportWave", 2, 2, &arg0, &arg1)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(265), arg0) < 0) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg1, (char **)&x1); + if (datasize != 0) { + x1 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg1, (char **)&x1, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = ExportWave(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +static int _cffi_f_ExportWave(Wave *x0, char const * x1) +{ + int result; + { result = ExportWave(*x0, x1); } + return result; +} +#endif + +static int _cffi_d_ExportWaveAsCode(Wave x0, char const * x1) +{ + return ExportWaveAsCode(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ExportWaveAsCode(PyObject *self, PyObject *args) +{ + Wave x0; + char const * x1; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + int result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "ExportWaveAsCode", 2, 2, &arg0, &arg1)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(265), arg0) < 0) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg1, (char **)&x1); + if (datasize != 0) { + x1 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg1, (char **)&x1, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = ExportWaveAsCode(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +static int _cffi_f_ExportWaveAsCode(Wave *x0, char const * x1) +{ + int result; + { result = ExportWaveAsCode(*x0, x1); } + return result; +} +#endif + +static Color _cffi_d_Fade(Color x0, float x1) +{ + return Fade(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_Fade(PyObject *self, PyObject *args) +{ + Color x0; + float x1; + Color result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "Fade", 2, 2, &arg0, &arg1)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(25), arg0) < 0) + return NULL; + + x1 = (float)_cffi_to_c_float(arg1); + if (x1 == (float)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = Fade(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(25)); + return pyresult; +} +#else +static void _cffi_f_Fade(Color *result, Color *x0, float x1) +{ + { *result = Fade(*x0, x1); } +} +#endif + +static int _cffi_d_FileExists(char const * x0) +{ + return FileExists(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_FileExists(PyObject *self, PyObject *arg0) +{ + char const * x0; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + int result; + PyObject *pyresult; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = FileExists(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +# define _cffi_f_FileExists _cffi_d_FileExists +#endif + +static Image _cffi_d_GenImageCellular(int x0, int x1, int x2) +{ + return GenImageCellular(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GenImageCellular(PyObject *self, PyObject *args) +{ + int x0; + int x1; + int x2; + Image result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "GenImageCellular", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GenImageCellular(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(17)); + return pyresult; +} +#else +static void _cffi_f_GenImageCellular(Image *result, int x0, int x1, int x2) +{ + { *result = GenImageCellular(x0, x1, x2); } +} +#endif + +static Image _cffi_d_GenImageChecked(int x0, int x1, int x2, int x3, Color x4, Color x5) +{ + return GenImageChecked(x0, x1, x2, x3, x4, x5); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GenImageChecked(PyObject *self, PyObject *args) +{ + int x0; + int x1; + int x2; + int x3; + Color x4; + Color x5; + Image result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + PyObject *arg5; + + if (!PyArg_UnpackTuple(args, "GenImageChecked", 6, 6, &arg0, &arg1, &arg2, &arg3, &arg4, &arg5)) + return NULL; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + x3 = _cffi_to_c_int(arg3, int); + if (x3 == (int)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x4, _cffi_type(25), arg4) < 0) + return NULL; + + if (_cffi_to_c((char *)&x5, _cffi_type(25), arg5) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GenImageChecked(x0, x1, x2, x3, x4, x5); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(17)); + return pyresult; +} +#else +static void _cffi_f_GenImageChecked(Image *result, int x0, int x1, int x2, int x3, Color *x4, Color *x5) +{ + { *result = GenImageChecked(x0, x1, x2, x3, *x4, *x5); } +} +#endif + +static Image _cffi_d_GenImageColor(int x0, int x1, Color x2) +{ + return GenImageColor(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GenImageColor(PyObject *self, PyObject *args) +{ + int x0; + int x1; + Color x2; + Image result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "GenImageColor", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(25), arg2) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GenImageColor(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(17)); + return pyresult; +} +#else +static void _cffi_f_GenImageColor(Image *result, int x0, int x1, Color *x2) +{ + { *result = GenImageColor(x0, x1, *x2); } +} +#endif + +static Image _cffi_d_GenImageFontAtlas(CharInfo const * x0, Rectangle * * x1, int x2, int x3, int x4, int x5) +{ + return GenImageFontAtlas(x0, x1, x2, x3, x4, x5); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GenImageFontAtlas(PyObject *self, PyObject *args) +{ + CharInfo const * x0; + Rectangle * * x1; + int x2; + int x3; + int x4; + int x5; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + Image result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + PyObject *arg5; + + if (!PyArg_UnpackTuple(args, "GenImageFontAtlas", 6, 6, &arg0, &arg1, &arg2, &arg3, &arg4, &arg5)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(73), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (CharInfo const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(73), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(74), arg1, (char **)&x1); + if (datasize != 0) { + x1 = ((size_t)datasize) <= 640 ? (Rectangle * *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(74), arg1, (char **)&x1, + datasize, &large_args_free) < 0) + return NULL; + } + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + x3 = _cffi_to_c_int(arg3, int); + if (x3 == (int)-1 && PyErr_Occurred()) + return NULL; + + x4 = _cffi_to_c_int(arg4, int); + if (x4 == (int)-1 && PyErr_Occurred()) + return NULL; + + x5 = _cffi_to_c_int(arg5, int); + if (x5 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GenImageFontAtlas(x0, x1, x2, x3, x4, x5); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(17)); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +static void _cffi_f_GenImageFontAtlas(Image *result, CharInfo const * x0, Rectangle * * x1, int x2, int x3, int x4, int x5) +{ + { *result = GenImageFontAtlas(x0, x1, x2, x3, x4, x5); } +} +#endif + +static Image _cffi_d_GenImageGradientH(int x0, int x1, Color x2, Color x3) +{ + return GenImageGradientH(x0, x1, x2, x3); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GenImageGradientH(PyObject *self, PyObject *args) +{ + int x0; + int x1; + Color x2; + Color x3; + Image result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + + if (!PyArg_UnpackTuple(args, "GenImageGradientH", 4, 4, &arg0, &arg1, &arg2, &arg3)) + return NULL; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(25), arg2) < 0) + return NULL; + + if (_cffi_to_c((char *)&x3, _cffi_type(25), arg3) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GenImageGradientH(x0, x1, x2, x3); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(17)); + return pyresult; +} +#else +static void _cffi_f_GenImageGradientH(Image *result, int x0, int x1, Color *x2, Color *x3) +{ + { *result = GenImageGradientH(x0, x1, *x2, *x3); } +} +#endif + +static Image _cffi_d_GenImageGradientRadial(int x0, int x1, float x2, Color x3, Color x4) +{ + return GenImageGradientRadial(x0, x1, x2, x3, x4); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GenImageGradientRadial(PyObject *self, PyObject *args) +{ + int x0; + int x1; + float x2; + Color x3; + Color x4; + Image result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + + if (!PyArg_UnpackTuple(args, "GenImageGradientRadial", 5, 5, &arg0, &arg1, &arg2, &arg3, &arg4)) + return NULL; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + x2 = (float)_cffi_to_c_float(arg2); + if (x2 == (float)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x3, _cffi_type(25), arg3) < 0) + return NULL; + + if (_cffi_to_c((char *)&x4, _cffi_type(25), arg4) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GenImageGradientRadial(x0, x1, x2, x3, x4); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(17)); + return pyresult; +} +#else +static void _cffi_f_GenImageGradientRadial(Image *result, int x0, int x1, float x2, Color *x3, Color *x4) +{ + { *result = GenImageGradientRadial(x0, x1, x2, *x3, *x4); } +} +#endif + +static Image _cffi_d_GenImageGradientV(int x0, int x1, Color x2, Color x3) +{ + return GenImageGradientV(x0, x1, x2, x3); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GenImageGradientV(PyObject *self, PyObject *args) +{ + int x0; + int x1; + Color x2; + Color x3; + Image result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + + if (!PyArg_UnpackTuple(args, "GenImageGradientV", 4, 4, &arg0, &arg1, &arg2, &arg3)) + return NULL; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(25), arg2) < 0) + return NULL; + + if (_cffi_to_c((char *)&x3, _cffi_type(25), arg3) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GenImageGradientV(x0, x1, x2, x3); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(17)); + return pyresult; +} +#else +static void _cffi_f_GenImageGradientV(Image *result, int x0, int x1, Color *x2, Color *x3) +{ + { *result = GenImageGradientV(x0, x1, *x2, *x3); } +} +#endif + +static Image _cffi_d_GenImagePerlinNoise(int x0, int x1, int x2, int x3, float x4) +{ + return GenImagePerlinNoise(x0, x1, x2, x3, x4); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GenImagePerlinNoise(PyObject *self, PyObject *args) +{ + int x0; + int x1; + int x2; + int x3; + float x4; + Image result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + + if (!PyArg_UnpackTuple(args, "GenImagePerlinNoise", 5, 5, &arg0, &arg1, &arg2, &arg3, &arg4)) + return NULL; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + x3 = _cffi_to_c_int(arg3, int); + if (x3 == (int)-1 && PyErr_Occurred()) + return NULL; + + x4 = (float)_cffi_to_c_float(arg4); + if (x4 == (float)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GenImagePerlinNoise(x0, x1, x2, x3, x4); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(17)); + return pyresult; +} +#else +static void _cffi_f_GenImagePerlinNoise(Image *result, int x0, int x1, int x2, int x3, float x4) +{ + { *result = GenImagePerlinNoise(x0, x1, x2, x3, x4); } +} +#endif + +static Image _cffi_d_GenImageWhiteNoise(int x0, int x1, float x2) +{ + return GenImageWhiteNoise(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GenImageWhiteNoise(PyObject *self, PyObject *args) +{ + int x0; + int x1; + float x2; + Image result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "GenImageWhiteNoise", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + x2 = (float)_cffi_to_c_float(arg2); + if (x2 == (float)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GenImageWhiteNoise(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(17)); + return pyresult; +} +#else +static void _cffi_f_GenImageWhiteNoise(Image *result, int x0, int x1, float x2) +{ + { *result = GenImageWhiteNoise(x0, x1, x2); } +} +#endif + +static Mesh _cffi_d_GenMeshCube(float x0, float x1, float x2) +{ + return GenMeshCube(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GenMeshCube(PyObject *self, PyObject *args) +{ + float x0; + float x1; + float x2; + Mesh result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "GenMeshCube", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + x0 = (float)_cffi_to_c_float(arg0); + if (x0 == (float)-1 && PyErr_Occurred()) + return NULL; + + x1 = (float)_cffi_to_c_float(arg1); + if (x1 == (float)-1 && PyErr_Occurred()) + return NULL; + + x2 = (float)_cffi_to_c_float(arg2); + if (x2 == (float)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GenMeshCube(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(6)); + return pyresult; +} +#else +static void _cffi_f_GenMeshCube(Mesh *result, float x0, float x1, float x2) +{ + { *result = GenMeshCube(x0, x1, x2); } +} +#endif + +static Mesh _cffi_d_GenMeshCubicmap(Image x0, Vector3 x1) +{ + return GenMeshCubicmap(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GenMeshCubicmap(PyObject *self, PyObject *args) +{ + Image x0; + Vector3 x1; + Mesh result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "GenMeshCubicmap", 2, 2, &arg0, &arg1)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(17), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(180), arg1) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GenMeshCubicmap(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(6)); + return pyresult; +} +#else +static void _cffi_f_GenMeshCubicmap(Mesh *result, Image *x0, Vector3 *x1) +{ + { *result = GenMeshCubicmap(*x0, *x1); } +} +#endif + +static Mesh _cffi_d_GenMeshCylinder(float x0, float x1, int x2) +{ + return GenMeshCylinder(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GenMeshCylinder(PyObject *self, PyObject *args) +{ + float x0; + float x1; + int x2; + Mesh result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "GenMeshCylinder", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + x0 = (float)_cffi_to_c_float(arg0); + if (x0 == (float)-1 && PyErr_Occurred()) + return NULL; + + x1 = (float)_cffi_to_c_float(arg1); + if (x1 == (float)-1 && PyErr_Occurred()) + return NULL; + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GenMeshCylinder(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(6)); + return pyresult; +} +#else +static void _cffi_f_GenMeshCylinder(Mesh *result, float x0, float x1, int x2) +{ + { *result = GenMeshCylinder(x0, x1, x2); } +} +#endif + +static Mesh _cffi_d_GenMeshHeightmap(Image x0, Vector3 x1) +{ + return GenMeshHeightmap(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GenMeshHeightmap(PyObject *self, PyObject *args) +{ + Image x0; + Vector3 x1; + Mesh result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "GenMeshHeightmap", 2, 2, &arg0, &arg1)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(17), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(180), arg1) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GenMeshHeightmap(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(6)); + return pyresult; +} +#else +static void _cffi_f_GenMeshHeightmap(Mesh *result, Image *x0, Vector3 *x1) +{ + { *result = GenMeshHeightmap(*x0, *x1); } +} +#endif + +static Mesh _cffi_d_GenMeshHemiSphere(float x0, int x1, int x2) +{ + return GenMeshHemiSphere(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GenMeshHemiSphere(PyObject *self, PyObject *args) +{ + float x0; + int x1; + int x2; + Mesh result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "GenMeshHemiSphere", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + x0 = (float)_cffi_to_c_float(arg0); + if (x0 == (float)-1 && PyErr_Occurred()) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GenMeshHemiSphere(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(6)); + return pyresult; +} +#else +static void _cffi_f_GenMeshHemiSphere(Mesh *result, float x0, int x1, int x2) +{ + { *result = GenMeshHemiSphere(x0, x1, x2); } +} +#endif + +static Mesh _cffi_d_GenMeshKnot(float x0, float x1, int x2, int x3) +{ + return GenMeshKnot(x0, x1, x2, x3); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GenMeshKnot(PyObject *self, PyObject *args) +{ + float x0; + float x1; + int x2; + int x3; + Mesh result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + + if (!PyArg_UnpackTuple(args, "GenMeshKnot", 4, 4, &arg0, &arg1, &arg2, &arg3)) + return NULL; + + x0 = (float)_cffi_to_c_float(arg0); + if (x0 == (float)-1 && PyErr_Occurred()) + return NULL; + + x1 = (float)_cffi_to_c_float(arg1); + if (x1 == (float)-1 && PyErr_Occurred()) + return NULL; + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + x3 = _cffi_to_c_int(arg3, int); + if (x3 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GenMeshKnot(x0, x1, x2, x3); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(6)); + return pyresult; +} +#else +static void _cffi_f_GenMeshKnot(Mesh *result, float x0, float x1, int x2, int x3) +{ + { *result = GenMeshKnot(x0, x1, x2, x3); } +} +#endif + +static Mesh _cffi_d_GenMeshPlane(float x0, float x1, int x2, int x3) +{ + return GenMeshPlane(x0, x1, x2, x3); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GenMeshPlane(PyObject *self, PyObject *args) +{ + float x0; + float x1; + int x2; + int x3; + Mesh result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + + if (!PyArg_UnpackTuple(args, "GenMeshPlane", 4, 4, &arg0, &arg1, &arg2, &arg3)) + return NULL; + + x0 = (float)_cffi_to_c_float(arg0); + if (x0 == (float)-1 && PyErr_Occurred()) + return NULL; + + x1 = (float)_cffi_to_c_float(arg1); + if (x1 == (float)-1 && PyErr_Occurred()) + return NULL; + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + x3 = _cffi_to_c_int(arg3, int); + if (x3 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GenMeshPlane(x0, x1, x2, x3); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(6)); + return pyresult; +} +#else +static void _cffi_f_GenMeshPlane(Mesh *result, float x0, float x1, int x2, int x3) +{ + { *result = GenMeshPlane(x0, x1, x2, x3); } +} +#endif + +static Mesh _cffi_d_GenMeshPoly(int x0, float x1) +{ + return GenMeshPoly(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GenMeshPoly(PyObject *self, PyObject *args) +{ + int x0; + float x1; + Mesh result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "GenMeshPoly", 2, 2, &arg0, &arg1)) + return NULL; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + x1 = (float)_cffi_to_c_float(arg1); + if (x1 == (float)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GenMeshPoly(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(6)); + return pyresult; +} +#else +static void _cffi_f_GenMeshPoly(Mesh *result, int x0, float x1) +{ + { *result = GenMeshPoly(x0, x1); } +} +#endif + +static Mesh _cffi_d_GenMeshSphere(float x0, int x1, int x2) +{ + return GenMeshSphere(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GenMeshSphere(PyObject *self, PyObject *args) +{ + float x0; + int x1; + int x2; + Mesh result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "GenMeshSphere", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + x0 = (float)_cffi_to_c_float(arg0); + if (x0 == (float)-1 && PyErr_Occurred()) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GenMeshSphere(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(6)); + return pyresult; +} +#else +static void _cffi_f_GenMeshSphere(Mesh *result, float x0, int x1, int x2) +{ + { *result = GenMeshSphere(x0, x1, x2); } +} +#endif + +static Mesh _cffi_d_GenMeshTorus(float x0, float x1, int x2, int x3) +{ + return GenMeshTorus(x0, x1, x2, x3); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GenMeshTorus(PyObject *self, PyObject *args) +{ + float x0; + float x1; + int x2; + int x3; + Mesh result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + + if (!PyArg_UnpackTuple(args, "GenMeshTorus", 4, 4, &arg0, &arg1, &arg2, &arg3)) + return NULL; + + x0 = (float)_cffi_to_c_float(arg0); + if (x0 == (float)-1 && PyErr_Occurred()) + return NULL; + + x1 = (float)_cffi_to_c_float(arg1); + if (x1 == (float)-1 && PyErr_Occurred()) + return NULL; + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + x3 = _cffi_to_c_int(arg3, int); + if (x3 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GenMeshTorus(x0, x1, x2, x3); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(6)); + return pyresult; +} +#else +static void _cffi_f_GenMeshTorus(Mesh *result, float x0, float x1, int x2, int x3) +{ + { *result = GenMeshTorus(x0, x1, x2, x3); } +} +#endif + +static void _cffi_d_GenTextureMipmaps(Texture * x0) +{ + GenTextureMipmaps(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GenTextureMipmaps(PyObject *self, PyObject *arg0) +{ + Texture * x0; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(950), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Texture *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(950), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { GenTextureMipmaps(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_GenTextureMipmaps _cffi_d_GenTextureMipmaps +#endif + +static Matrix _cffi_d_GetCameraMatrix(Camera3D x0) +{ + return GetCameraMatrix(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetCameraMatrix(PyObject *self, PyObject *arg0) +{ + Camera3D x0; + Matrix result; + PyObject *pyresult; + + if (_cffi_to_c((char *)&x0, _cffi_type(176), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetCameraMatrix(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(232)); + return pyresult; +} +#else +static void _cffi_f_GetCameraMatrix(Matrix *result, Camera3D *x0) +{ + { *result = GetCameraMatrix(*x0); } +} +#endif + +static Matrix _cffi_d_GetCameraMatrix2D(Camera2D x0) +{ + return GetCameraMatrix2D(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetCameraMatrix2D(PyObject *self, PyObject *arg0) +{ + Camera2D x0; + Matrix result; + PyObject *pyresult; + + if (_cffi_to_c((char *)&x0, _cffi_type(173), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetCameraMatrix2D(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(232)); + return pyresult; +} +#else +static void _cffi_f_GetCameraMatrix2D(Matrix *result, Camera2D *x0) +{ + { *result = GetCameraMatrix2D(*x0); } +} +#endif + +static int _cffi_d_GetCharPressed(void) +{ + return GetCharPressed(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetCharPressed(PyObject *self, PyObject *noarg) +{ + int result; + PyObject *pyresult; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetCharPressed(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_GetCharPressed _cffi_d_GetCharPressed +#endif + +static char const * _cffi_d_GetClipboardText(void) +{ + return GetClipboardText(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetClipboardText(PyObject *self, PyObject *noarg) +{ + char const * result; + PyObject *pyresult; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetClipboardText(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + pyresult = _cffi_from_c_pointer((char *)result, _cffi_type(54)); + return pyresult; +} +#else +# define _cffi_f_GetClipboardText _cffi_d_GetClipboardText +#endif + +static int * _cffi_d_GetCodepoints(char const * x0, int * x1) +{ + return GetCodepoints(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetCodepoints(PyObject *self, PyObject *args) +{ + char const * x0; + int * x1; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + int * result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "GetCodepoints", 2, 2, &arg0, &arg1)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(12), arg1, (char **)&x1); + if (datasize != 0) { + x1 = ((size_t)datasize) <= 640 ? (int *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(12), arg1, (char **)&x1, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetCodepoints(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_pointer((char *)result, _cffi_type(12)); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +# define _cffi_f_GetCodepoints _cffi_d_GetCodepoints +#endif + +static int _cffi_d_GetCodepointsCount(char const * x0) +{ + return GetCodepointsCount(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetCodepointsCount(PyObject *self, PyObject *arg0) +{ + char const * x0; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + int result; + PyObject *pyresult; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetCodepointsCount(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +# define _cffi_f_GetCodepointsCount _cffi_d_GetCodepointsCount +#endif + +static RayHitInfo _cffi_d_GetCollisionRayGround(Ray x0, float x1) +{ + return GetCollisionRayGround(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetCollisionRayGround(PyObject *self, PyObject *args) +{ + Ray x0; + float x1; + RayHitInfo result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "GetCollisionRayGround", 2, 2, &arg0, &arg1)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(230), arg0) < 0) + return NULL; + + x1 = (float)_cffi_to_c_float(arg1); + if (x1 == (float)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetCollisionRayGround(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(1319)); + return pyresult; +} +#else +static void _cffi_f_GetCollisionRayGround(RayHitInfo *result, Ray *x0, float x1) +{ + { *result = GetCollisionRayGround(*x0, x1); } +} +#endif + +static RayHitInfo _cffi_d_GetCollisionRayMesh(Ray x0, Mesh x1, Matrix x2) +{ + return GetCollisionRayMesh(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetCollisionRayMesh(PyObject *self, PyObject *args) +{ + Ray x0; + Mesh x1; + Matrix x2; + RayHitInfo result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "GetCollisionRayMesh", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(230), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(6), arg1) < 0) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(232), arg2) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetCollisionRayMesh(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(1319)); + return pyresult; +} +#else +static void _cffi_f_GetCollisionRayMesh(RayHitInfo *result, Ray *x0, Mesh *x1, Matrix *x2) +{ + { *result = GetCollisionRayMesh(*x0, *x1, *x2); } +} +#endif + +static RayHitInfo _cffi_d_GetCollisionRayModel(Ray x0, Model x1) +{ + return GetCollisionRayModel(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetCollisionRayModel(PyObject *self, PyObject *args) +{ + Ray x0; + Model x1; + RayHitInfo result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "GetCollisionRayModel", 2, 2, &arg0, &arg1)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(230), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(236), arg1) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetCollisionRayModel(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(1319)); + return pyresult; +} +#else +static void _cffi_f_GetCollisionRayModel(RayHitInfo *result, Ray *x0, Model *x1) +{ + { *result = GetCollisionRayModel(*x0, *x1); } +} +#endif + +static RayHitInfo _cffi_d_GetCollisionRayTriangle(Ray x0, Vector3 x1, Vector3 x2, Vector3 x3) +{ + return GetCollisionRayTriangle(x0, x1, x2, x3); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetCollisionRayTriangle(PyObject *self, PyObject *args) +{ + Ray x0; + Vector3 x1; + Vector3 x2; + Vector3 x3; + RayHitInfo result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + + if (!PyArg_UnpackTuple(args, "GetCollisionRayTriangle", 4, 4, &arg0, &arg1, &arg2, &arg3)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(230), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(180), arg1) < 0) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(180), arg2) < 0) + return NULL; + + if (_cffi_to_c((char *)&x3, _cffi_type(180), arg3) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetCollisionRayTriangle(x0, x1, x2, x3); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(1319)); + return pyresult; +} +#else +static void _cffi_f_GetCollisionRayTriangle(RayHitInfo *result, Ray *x0, Vector3 *x1, Vector3 *x2, Vector3 *x3) +{ + { *result = GetCollisionRayTriangle(*x0, *x1, *x2, *x3); } +} +#endif + +static Rectangle _cffi_d_GetCollisionRec(Rectangle x0, Rectangle x1) +{ + return GetCollisionRec(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetCollisionRec(PyObject *self, PyObject *args) +{ + Rectangle x0; + Rectangle x1; + Rectangle result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "GetCollisionRec", 2, 2, &arg0, &arg1)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(92), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(92), arg1) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetCollisionRec(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(92)); + return pyresult; +} +#else +static void _cffi_f_GetCollisionRec(Rectangle *result, Rectangle *x0, Rectangle *x1) +{ + { *result = GetCollisionRec(*x0, *x1); } +} +#endif + +static Color _cffi_d_GetColor(int x0) +{ + return GetColor(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetColor(PyObject *self, PyObject *arg0) +{ + int x0; + Color result; + PyObject *pyresult; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetColor(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(25)); + return pyresult; +} +#else +static void _cffi_f_GetColor(Color *result, int x0) +{ + { *result = GetColor(x0); } +} +#endif + +static int _cffi_d_GetCurrentMonitor(void) +{ + return GetCurrentMonitor(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetCurrentMonitor(PyObject *self, PyObject *noarg) +{ + int result; + PyObject *pyresult; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetCurrentMonitor(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_GetCurrentMonitor _cffi_d_GetCurrentMonitor +#endif + +static char * * _cffi_d_GetDirectoryFiles(char const * x0, int * x1) +{ + return GetDirectoryFiles(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetDirectoryFiles(PyObject *self, PyObject *args) +{ + char const * x0; + int * x1; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + char * * result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "GetDirectoryFiles", 2, 2, &arg0, &arg1)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(12), arg1, (char **)&x1); + if (datasize != 0) { + x1 = ((size_t)datasize) <= 640 ? (int *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(12), arg1, (char **)&x1, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetDirectoryFiles(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_pointer((char *)result, _cffi_type(1329)); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +# define _cffi_f_GetDirectoryFiles _cffi_d_GetDirectoryFiles +#endif + +static char const * _cffi_d_GetDirectoryPath(char const * x0) +{ + return GetDirectoryPath(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetDirectoryPath(PyObject *self, PyObject *arg0) +{ + char const * x0; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + char const * result; + PyObject *pyresult; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetDirectoryPath(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_pointer((char *)result, _cffi_type(54)); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +# define _cffi_f_GetDirectoryPath _cffi_d_GetDirectoryPath +#endif + +static char * * _cffi_d_GetDroppedFiles(int * x0) +{ + return GetDroppedFiles(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetDroppedFiles(PyObject *self, PyObject *arg0) +{ + int * x0; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + char * * result; + PyObject *pyresult; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(12), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (int *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(12), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetDroppedFiles(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_pointer((char *)result, _cffi_type(1329)); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +# define _cffi_f_GetDroppedFiles _cffi_d_GetDroppedFiles +#endif + +static int _cffi_d_GetFPS(void) +{ + return GetFPS(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetFPS(PyObject *self, PyObject *noarg) +{ + int result; + PyObject *pyresult; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetFPS(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_GetFPS _cffi_d_GetFPS +#endif + +static char const * _cffi_d_GetFileExtension(char const * x0) +{ + return GetFileExtension(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetFileExtension(PyObject *self, PyObject *arg0) +{ + char const * x0; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + char const * result; + PyObject *pyresult; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetFileExtension(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_pointer((char *)result, _cffi_type(54)); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +# define _cffi_f_GetFileExtension _cffi_d_GetFileExtension +#endif + +static long _cffi_d_GetFileModTime(char const * x0) +{ + return GetFileModTime(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetFileModTime(PyObject *self, PyObject *arg0) +{ + char const * x0; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + long result; + PyObject *pyresult; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetFileModTime(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, long); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +# define _cffi_f_GetFileModTime _cffi_d_GetFileModTime +#endif + +static char const * _cffi_d_GetFileName(char const * x0) +{ + return GetFileName(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetFileName(PyObject *self, PyObject *arg0) +{ + char const * x0; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + char const * result; + PyObject *pyresult; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetFileName(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_pointer((char *)result, _cffi_type(54)); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +# define _cffi_f_GetFileName _cffi_d_GetFileName +#endif + +static char const * _cffi_d_GetFileNameWithoutExt(char const * x0) +{ + return GetFileNameWithoutExt(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetFileNameWithoutExt(PyObject *self, PyObject *arg0) +{ + char const * x0; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + char const * result; + PyObject *pyresult; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetFileNameWithoutExt(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_pointer((char *)result, _cffi_type(54)); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +# define _cffi_f_GetFileNameWithoutExt _cffi_d_GetFileNameWithoutExt +#endif + +static Font _cffi_d_GetFontDefault(void) +{ + return GetFontDefault(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetFontDefault(PyObject *self, PyObject *noarg) +{ + Font result; + PyObject *pyresult; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetFontDefault(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(81)); + return pyresult; +} +#else +static void _cffi_f_GetFontDefault(Font *result) +{ + { *result = GetFontDefault(); } +} +#endif + +static float _cffi_d_GetFrameTime(void) +{ + return GetFrameTime(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetFrameTime(PyObject *self, PyObject *noarg) +{ + float result; + PyObject *pyresult; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetFrameTime(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + pyresult = _cffi_from_c_float(result); + return pyresult; +} +#else +# define _cffi_f_GetFrameTime _cffi_d_GetFrameTime +#endif + +static int _cffi_d_GetGamepadAxisCount(int x0) +{ + return GetGamepadAxisCount(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetGamepadAxisCount(PyObject *self, PyObject *arg0) +{ + int x0; + int result; + PyObject *pyresult; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetGamepadAxisCount(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_GetGamepadAxisCount _cffi_d_GetGamepadAxisCount +#endif + +static float _cffi_d_GetGamepadAxisMovement(int x0, int x1) +{ + return GetGamepadAxisMovement(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetGamepadAxisMovement(PyObject *self, PyObject *args) +{ + int x0; + int x1; + float result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "GetGamepadAxisMovement", 2, 2, &arg0, &arg1)) + return NULL; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetGamepadAxisMovement(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_float(result); + return pyresult; +} +#else +# define _cffi_f_GetGamepadAxisMovement _cffi_d_GetGamepadAxisMovement +#endif + +static int _cffi_d_GetGamepadButtonPressed(void) +{ + return GetGamepadButtonPressed(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetGamepadButtonPressed(PyObject *self, PyObject *noarg) +{ + int result; + PyObject *pyresult; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetGamepadButtonPressed(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_GetGamepadButtonPressed _cffi_d_GetGamepadButtonPressed +#endif + +static char const * _cffi_d_GetGamepadName(int x0) +{ + return GetGamepadName(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetGamepadName(PyObject *self, PyObject *arg0) +{ + int x0; + char const * result; + PyObject *pyresult; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetGamepadName(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_pointer((char *)result, _cffi_type(54)); + return pyresult; +} +#else +# define _cffi_f_GetGamepadName _cffi_d_GetGamepadName +#endif + +static int _cffi_d_GetGestureDetected(void) +{ + return GetGestureDetected(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetGestureDetected(PyObject *self, PyObject *noarg) +{ + int result; + PyObject *pyresult; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetGestureDetected(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_GetGestureDetected _cffi_d_GetGestureDetected +#endif + +static float _cffi_d_GetGestureDragAngle(void) +{ + return GetGestureDragAngle(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetGestureDragAngle(PyObject *self, PyObject *noarg) +{ + float result; + PyObject *pyresult; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetGestureDragAngle(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + pyresult = _cffi_from_c_float(result); + return pyresult; +} +#else +# define _cffi_f_GetGestureDragAngle _cffi_d_GetGestureDragAngle +#endif + +static Vector2 _cffi_d_GetGestureDragVector(void) +{ + return GetGestureDragVector(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetGestureDragVector(PyObject *self, PyObject *noarg) +{ + Vector2 result; + PyObject *pyresult; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetGestureDragVector(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(226)); + return pyresult; +} +#else +static void _cffi_f_GetGestureDragVector(Vector2 *result) +{ + { *result = GetGestureDragVector(); } +} +#endif + +static float _cffi_d_GetGestureHoldDuration(void) +{ + return GetGestureHoldDuration(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetGestureHoldDuration(PyObject *self, PyObject *noarg) +{ + float result; + PyObject *pyresult; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetGestureHoldDuration(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + pyresult = _cffi_from_c_float(result); + return pyresult; +} +#else +# define _cffi_f_GetGestureHoldDuration _cffi_d_GetGestureHoldDuration +#endif + +static float _cffi_d_GetGesturePinchAngle(void) +{ + return GetGesturePinchAngle(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetGesturePinchAngle(PyObject *self, PyObject *noarg) +{ + float result; + PyObject *pyresult; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetGesturePinchAngle(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + pyresult = _cffi_from_c_float(result); + return pyresult; +} +#else +# define _cffi_f_GetGesturePinchAngle _cffi_d_GetGesturePinchAngle +#endif + +static Vector2 _cffi_d_GetGesturePinchVector(void) +{ + return GetGesturePinchVector(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetGesturePinchVector(PyObject *self, PyObject *noarg) +{ + Vector2 result; + PyObject *pyresult; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetGesturePinchVector(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(226)); + return pyresult; +} +#else +static void _cffi_f_GetGesturePinchVector(Vector2 *result) +{ + { *result = GetGesturePinchVector(); } +} +#endif + +static int _cffi_d_GetGlyphIndex(Font x0, int x1) +{ + return GetGlyphIndex(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetGlyphIndex(PyObject *self, PyObject *args) +{ + Font x0; + int x1; + int result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "GetGlyphIndex", 2, 2, &arg0, &arg1)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(81), arg0) < 0) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetGlyphIndex(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +static int _cffi_f_GetGlyphIndex(Font *x0, int x1) +{ + int result; + { result = GetGlyphIndex(*x0, x1); } + return result; +} +#endif + +static Rectangle _cffi_d_GetImageAlphaBorder(Image x0, float x1) +{ + return GetImageAlphaBorder(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetImageAlphaBorder(PyObject *self, PyObject *args) +{ + Image x0; + float x1; + Rectangle result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "GetImageAlphaBorder", 2, 2, &arg0, &arg1)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(17), arg0) < 0) + return NULL; + + x1 = (float)_cffi_to_c_float(arg1); + if (x1 == (float)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetImageAlphaBorder(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(92)); + return pyresult; +} +#else +static void _cffi_f_GetImageAlphaBorder(Rectangle *result, Image *x0, float x1) +{ + { *result = GetImageAlphaBorder(*x0, x1); } +} +#endif + +static int _cffi_d_GetKeyPressed(void) +{ + return GetKeyPressed(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetKeyPressed(PyObject *self, PyObject *noarg) +{ + int result; + PyObject *pyresult; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetKeyPressed(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_GetKeyPressed _cffi_d_GetKeyPressed +#endif + +static int _cffi_d_GetMonitorCount(void) +{ + return GetMonitorCount(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetMonitorCount(PyObject *self, PyObject *noarg) +{ + int result; + PyObject *pyresult; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetMonitorCount(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_GetMonitorCount _cffi_d_GetMonitorCount +#endif + +static int _cffi_d_GetMonitorHeight(int x0) +{ + return GetMonitorHeight(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetMonitorHeight(PyObject *self, PyObject *arg0) +{ + int x0; + int result; + PyObject *pyresult; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetMonitorHeight(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_GetMonitorHeight _cffi_d_GetMonitorHeight +#endif + +static char const * _cffi_d_GetMonitorName(int x0) +{ + return GetMonitorName(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetMonitorName(PyObject *self, PyObject *arg0) +{ + int x0; + char const * result; + PyObject *pyresult; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetMonitorName(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_pointer((char *)result, _cffi_type(54)); + return pyresult; +} +#else +# define _cffi_f_GetMonitorName _cffi_d_GetMonitorName +#endif + +static int _cffi_d_GetMonitorPhysicalHeight(int x0) +{ + return GetMonitorPhysicalHeight(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetMonitorPhysicalHeight(PyObject *self, PyObject *arg0) +{ + int x0; + int result; + PyObject *pyresult; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetMonitorPhysicalHeight(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_GetMonitorPhysicalHeight _cffi_d_GetMonitorPhysicalHeight +#endif + +static int _cffi_d_GetMonitorPhysicalWidth(int x0) +{ + return GetMonitorPhysicalWidth(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetMonitorPhysicalWidth(PyObject *self, PyObject *arg0) +{ + int x0; + int result; + PyObject *pyresult; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetMonitorPhysicalWidth(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_GetMonitorPhysicalWidth _cffi_d_GetMonitorPhysicalWidth +#endif + +static Vector2 _cffi_d_GetMonitorPosition(int x0) +{ + return GetMonitorPosition(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetMonitorPosition(PyObject *self, PyObject *arg0) +{ + int x0; + Vector2 result; + PyObject *pyresult; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetMonitorPosition(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(226)); + return pyresult; +} +#else +static void _cffi_f_GetMonitorPosition(Vector2 *result, int x0) +{ + { *result = GetMonitorPosition(x0); } +} +#endif + +static int _cffi_d_GetMonitorRefreshRate(int x0) +{ + return GetMonitorRefreshRate(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetMonitorRefreshRate(PyObject *self, PyObject *arg0) +{ + int x0; + int result; + PyObject *pyresult; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetMonitorRefreshRate(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_GetMonitorRefreshRate _cffi_d_GetMonitorRefreshRate +#endif + +static int _cffi_d_GetMonitorWidth(int x0) +{ + return GetMonitorWidth(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetMonitorWidth(PyObject *self, PyObject *arg0) +{ + int x0; + int result; + PyObject *pyresult; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetMonitorWidth(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_GetMonitorWidth _cffi_d_GetMonitorWidth +#endif + +static Vector2 _cffi_d_GetMousePosition(void) +{ + return GetMousePosition(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetMousePosition(PyObject *self, PyObject *noarg) +{ + Vector2 result; + PyObject *pyresult; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetMousePosition(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(226)); + return pyresult; +} +#else +static void _cffi_f_GetMousePosition(Vector2 *result) +{ + { *result = GetMousePosition(); } +} +#endif + +static Ray _cffi_d_GetMouseRay(Vector2 x0, Camera3D x1) +{ + return GetMouseRay(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetMouseRay(PyObject *self, PyObject *args) +{ + Vector2 x0; + Camera3D x1; + Ray result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "GetMouseRay", 2, 2, &arg0, &arg1)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(226), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(176), arg1) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetMouseRay(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(230)); + return pyresult; +} +#else +static void _cffi_f_GetMouseRay(Ray *result, Vector2 *x0, Camera3D *x1) +{ + { *result = GetMouseRay(*x0, *x1); } +} +#endif + +static float _cffi_d_GetMouseWheelMove(void) +{ + return GetMouseWheelMove(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetMouseWheelMove(PyObject *self, PyObject *noarg) +{ + float result; + PyObject *pyresult; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetMouseWheelMove(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + pyresult = _cffi_from_c_float(result); + return pyresult; +} +#else +# define _cffi_f_GetMouseWheelMove _cffi_d_GetMouseWheelMove +#endif + +static int _cffi_d_GetMouseX(void) +{ + return GetMouseX(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetMouseX(PyObject *self, PyObject *noarg) +{ + int result; + PyObject *pyresult; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetMouseX(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_GetMouseX _cffi_d_GetMouseX +#endif + +static int _cffi_d_GetMouseY(void) +{ + return GetMouseY(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetMouseY(PyObject *self, PyObject *noarg) +{ + int result; + PyObject *pyresult; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetMouseY(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_GetMouseY _cffi_d_GetMouseY +#endif + +static float _cffi_d_GetMusicTimeLength(Music x0) +{ + return GetMusicTimeLength(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetMusicTimeLength(PyObject *self, PyObject *arg0) +{ + Music x0; + float result; + PyObject *pyresult; + + if (_cffi_to_c((char *)&x0, _cffi_type(385), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetMusicTimeLength(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_float(result); + return pyresult; +} +#else +static float _cffi_f_GetMusicTimeLength(Music *x0) +{ + float result; + { result = GetMusicTimeLength(*x0); } + return result; +} +#endif + +static float _cffi_d_GetMusicTimePlayed(Music x0) +{ + return GetMusicTimePlayed(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetMusicTimePlayed(PyObject *self, PyObject *arg0) +{ + Music x0; + float result; + PyObject *pyresult; + + if (_cffi_to_c((char *)&x0, _cffi_type(385), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetMusicTimePlayed(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_float(result); + return pyresult; +} +#else +static float _cffi_f_GetMusicTimePlayed(Music *x0) +{ + float result; + { result = GetMusicTimePlayed(*x0); } + return result; +} +#endif + +static int _cffi_d_GetNextCodepoint(char const * x0, int * x1) +{ + return GetNextCodepoint(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetNextCodepoint(PyObject *self, PyObject *args) +{ + char const * x0; + int * x1; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + int result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "GetNextCodepoint", 2, 2, &arg0, &arg1)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(12), arg1, (char **)&x1); + if (datasize != 0) { + x1 = ((size_t)datasize) <= 640 ? (int *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(12), arg1, (char **)&x1, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetNextCodepoint(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +# define _cffi_f_GetNextCodepoint _cffi_d_GetNextCodepoint +#endif + +static Color _cffi_d_GetPixelColor(void * x0, int x1) +{ + return GetPixelColor(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetPixelColor(PyObject *self, PyObject *args) +{ + void * x0; + int x1; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + Color result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "GetPixelColor", 2, 2, &arg0, &arg1)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(45), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (void *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(45), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetPixelColor(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(25)); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +static void _cffi_f_GetPixelColor(Color *result, void * x0, int x1) +{ + { *result = GetPixelColor(x0, x1); } +} +#endif + +static int _cffi_d_GetPixelDataSize(int x0, int x1, int x2) +{ + return GetPixelDataSize(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetPixelDataSize(PyObject *self, PyObject *args) +{ + int x0; + int x1; + int x2; + int result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "GetPixelDataSize", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetPixelDataSize(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_GetPixelDataSize _cffi_d_GetPixelDataSize +#endif + +static char const * _cffi_d_GetPrevDirectoryPath(char const * x0) +{ + return GetPrevDirectoryPath(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetPrevDirectoryPath(PyObject *self, PyObject *arg0) +{ + char const * x0; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + char const * result; + PyObject *pyresult; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetPrevDirectoryPath(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_pointer((char *)result, _cffi_type(54)); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +# define _cffi_f_GetPrevDirectoryPath _cffi_d_GetPrevDirectoryPath +#endif + +static int _cffi_d_GetRandomValue(int x0, int x1) +{ + return GetRandomValue(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetRandomValue(PyObject *self, PyObject *args) +{ + int x0; + int x1; + int result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "GetRandomValue", 2, 2, &arg0, &arg1)) + return NULL; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetRandomValue(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_GetRandomValue _cffi_d_GetRandomValue +#endif + +static Image _cffi_d_GetScreenData(void) +{ + return GetScreenData(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetScreenData(PyObject *self, PyObject *noarg) +{ + Image result; + PyObject *pyresult; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetScreenData(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(17)); + return pyresult; +} +#else +static void _cffi_f_GetScreenData(Image *result) +{ + { *result = GetScreenData(); } +} +#endif + +static int _cffi_d_GetScreenHeight(void) +{ + return GetScreenHeight(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetScreenHeight(PyObject *self, PyObject *noarg) +{ + int result; + PyObject *pyresult; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetScreenHeight(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_GetScreenHeight _cffi_d_GetScreenHeight +#endif + +static Vector2 _cffi_d_GetScreenToWorld2D(Vector2 x0, Camera2D x1) +{ + return GetScreenToWorld2D(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetScreenToWorld2D(PyObject *self, PyObject *args) +{ + Vector2 x0; + Camera2D x1; + Vector2 result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "GetScreenToWorld2D", 2, 2, &arg0, &arg1)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(226), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(173), arg1) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetScreenToWorld2D(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(226)); + return pyresult; +} +#else +static void _cffi_f_GetScreenToWorld2D(Vector2 *result, Vector2 *x0, Camera2D *x1) +{ + { *result = GetScreenToWorld2D(*x0, *x1); } +} +#endif + +static int _cffi_d_GetScreenWidth(void) +{ + return GetScreenWidth(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetScreenWidth(PyObject *self, PyObject *noarg) +{ + int result; + PyObject *pyresult; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetScreenWidth(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_GetScreenWidth _cffi_d_GetScreenWidth +#endif + +static int _cffi_d_GetShaderLocation(Shader x0, char const * x1) +{ + return GetShaderLocation(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetShaderLocation(PyObject *self, PyObject *args) +{ + Shader x0; + char const * x1; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + int result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "GetShaderLocation", 2, 2, &arg0, &arg1)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(451), arg0) < 0) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg1, (char **)&x1); + if (datasize != 0) { + x1 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg1, (char **)&x1, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetShaderLocation(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +static int _cffi_f_GetShaderLocation(Shader *x0, char const * x1) +{ + int result; + { result = GetShaderLocation(*x0, x1); } + return result; +} +#endif + +static int _cffi_d_GetShaderLocationAttrib(Shader x0, char const * x1) +{ + return GetShaderLocationAttrib(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetShaderLocationAttrib(PyObject *self, PyObject *args) +{ + Shader x0; + char const * x1; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + int result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "GetShaderLocationAttrib", 2, 2, &arg0, &arg1)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(451), arg0) < 0) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg1, (char **)&x1); + if (datasize != 0) { + x1 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg1, (char **)&x1, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetShaderLocationAttrib(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +static int _cffi_f_GetShaderLocationAttrib(Shader *x0, char const * x1) +{ + int result; + { result = GetShaderLocationAttrib(*x0, x1); } + return result; +} +#endif + +static int _cffi_d_GetSoundsPlaying(void) +{ + return GetSoundsPlaying(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetSoundsPlaying(PyObject *self, PyObject *noarg) +{ + int result; + PyObject *pyresult; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetSoundsPlaying(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_GetSoundsPlaying _cffi_d_GetSoundsPlaying +#endif + +static Image _cffi_d_GetTextureData(Texture x0) +{ + return GetTextureData(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetTextureData(PyObject *self, PyObject *arg0) +{ + Texture x0; + Image result; + PyObject *pyresult; + + if (_cffi_to_c((char *)&x0, _cffi_type(95), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetTextureData(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(17)); + return pyresult; +} +#else +static void _cffi_f_GetTextureData(Image *result, Texture *x0) +{ + { *result = GetTextureData(*x0); } +} +#endif + +static double _cffi_d_GetTime(void) +{ + return GetTime(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetTime(PyObject *self, PyObject *noarg) +{ + double result; + PyObject *pyresult; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetTime(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + pyresult = _cffi_from_c_double(result); + return pyresult; +} +#else +# define _cffi_f_GetTime _cffi_d_GetTime +#endif + +static int _cffi_d_GetTouchPointsCount(void) +{ + return GetTouchPointsCount(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetTouchPointsCount(PyObject *self, PyObject *noarg) +{ + int result; + PyObject *pyresult; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetTouchPointsCount(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_GetTouchPointsCount _cffi_d_GetTouchPointsCount +#endif + +static Vector2 _cffi_d_GetTouchPosition(int x0) +{ + return GetTouchPosition(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetTouchPosition(PyObject *self, PyObject *arg0) +{ + int x0; + Vector2 result; + PyObject *pyresult; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetTouchPosition(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(226)); + return pyresult; +} +#else +static void _cffi_f_GetTouchPosition(Vector2 *result, int x0) +{ + { *result = GetTouchPosition(x0); } +} +#endif + +static int _cffi_d_GetTouchX(void) +{ + return GetTouchX(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetTouchX(PyObject *self, PyObject *noarg) +{ + int result; + PyObject *pyresult; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetTouchX(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_GetTouchX _cffi_d_GetTouchX +#endif + +static int _cffi_d_GetTouchY(void) +{ + return GetTouchY(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetTouchY(PyObject *self, PyObject *noarg) +{ + int result; + PyObject *pyresult; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetTouchY(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_GetTouchY _cffi_d_GetTouchY +#endif + +static void * _cffi_d_GetWindowHandle(void) +{ + return GetWindowHandle(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetWindowHandle(PyObject *self, PyObject *noarg) +{ + void * result; + PyObject *pyresult; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetWindowHandle(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + pyresult = _cffi_from_c_pointer((char *)result, _cffi_type(45)); + return pyresult; +} +#else +# define _cffi_f_GetWindowHandle _cffi_d_GetWindowHandle +#endif + +static Vector2 _cffi_d_GetWindowPosition(void) +{ + return GetWindowPosition(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetWindowPosition(PyObject *self, PyObject *noarg) +{ + Vector2 result; + PyObject *pyresult; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetWindowPosition(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(226)); + return pyresult; +} +#else +static void _cffi_f_GetWindowPosition(Vector2 *result) +{ + { *result = GetWindowPosition(); } +} +#endif + +static Vector2 _cffi_d_GetWindowScaleDPI(void) +{ + return GetWindowScaleDPI(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetWindowScaleDPI(PyObject *self, PyObject *noarg) +{ + Vector2 result; + PyObject *pyresult; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetWindowScaleDPI(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(226)); + return pyresult; +} +#else +static void _cffi_f_GetWindowScaleDPI(Vector2 *result) +{ + { *result = GetWindowScaleDPI(); } +} +#endif + +static char const * _cffi_d_GetWorkingDirectory(void) +{ + return GetWorkingDirectory(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetWorkingDirectory(PyObject *self, PyObject *noarg) +{ + char const * result; + PyObject *pyresult; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetWorkingDirectory(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + pyresult = _cffi_from_c_pointer((char *)result, _cffi_type(54)); + return pyresult; +} +#else +# define _cffi_f_GetWorkingDirectory _cffi_d_GetWorkingDirectory +#endif + +static Vector2 _cffi_d_GetWorldToScreen(Vector3 x0, Camera3D x1) +{ + return GetWorldToScreen(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetWorldToScreen(PyObject *self, PyObject *args) +{ + Vector3 x0; + Camera3D x1; + Vector2 result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "GetWorldToScreen", 2, 2, &arg0, &arg1)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(180), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(176), arg1) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetWorldToScreen(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(226)); + return pyresult; +} +#else +static void _cffi_f_GetWorldToScreen(Vector2 *result, Vector3 *x0, Camera3D *x1) +{ + { *result = GetWorldToScreen(*x0, *x1); } +} +#endif + +static Vector2 _cffi_d_GetWorldToScreen2D(Vector2 x0, Camera2D x1) +{ + return GetWorldToScreen2D(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetWorldToScreen2D(PyObject *self, PyObject *args) +{ + Vector2 x0; + Camera2D x1; + Vector2 result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "GetWorldToScreen2D", 2, 2, &arg0, &arg1)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(226), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(173), arg1) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetWorldToScreen2D(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(226)); + return pyresult; +} +#else +static void _cffi_f_GetWorldToScreen2D(Vector2 *result, Vector2 *x0, Camera2D *x1) +{ + { *result = GetWorldToScreen2D(*x0, *x1); } +} +#endif + +static Vector2 _cffi_d_GetWorldToScreenEx(Vector3 x0, Camera3D x1, int x2, int x3) +{ + return GetWorldToScreenEx(x0, x1, x2, x3); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_GetWorldToScreenEx(PyObject *self, PyObject *args) +{ + Vector3 x0; + Camera3D x1; + int x2; + int x3; + Vector2 result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + + if (!PyArg_UnpackTuple(args, "GetWorldToScreenEx", 4, 4, &arg0, &arg1, &arg2, &arg3)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(180), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(176), arg1) < 0) + return NULL; + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + x3 = _cffi_to_c_int(arg3, int); + if (x3 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = GetWorldToScreenEx(x0, x1, x2, x3); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(226)); + return pyresult; +} +#else +static void _cffi_f_GetWorldToScreenEx(Vector2 *result, Vector3 *x0, Camera3D *x1, int x2, int x3) +{ + { *result = GetWorldToScreenEx(*x0, *x1, x2, x3); } +} +#endif + +static void _cffi_d_HideCursor(void) +{ + HideCursor(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_HideCursor(PyObject *self, PyObject *noarg) +{ + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { HideCursor(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_HideCursor _cffi_d_HideCursor +#endif + +static void _cffi_d_ImageAlphaClear(Image * x0, Color x1, float x2) +{ + ImageAlphaClear(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ImageAlphaClear(PyObject *self, PyObject *args) +{ + Image * x0; + Color x1; + float x2; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "ImageAlphaClear", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(672), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Image *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(672), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + if (_cffi_to_c((char *)&x1, _cffi_type(25), arg1) < 0) + return NULL; + + x2 = (float)_cffi_to_c_float(arg2); + if (x2 == (float)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { ImageAlphaClear(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_ImageAlphaClear(Image * x0, Color *x1, float x2) +{ + { ImageAlphaClear(x0, *x1, x2); } +} +#endif + +static void _cffi_d_ImageAlphaCrop(Image * x0, float x1) +{ + ImageAlphaCrop(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ImageAlphaCrop(PyObject *self, PyObject *args) +{ + Image * x0; + float x1; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "ImageAlphaCrop", 2, 2, &arg0, &arg1)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(672), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Image *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(672), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + x1 = (float)_cffi_to_c_float(arg1); + if (x1 == (float)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { ImageAlphaCrop(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_ImageAlphaCrop _cffi_d_ImageAlphaCrop +#endif + +static void _cffi_d_ImageAlphaMask(Image * x0, Image x1) +{ + ImageAlphaMask(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ImageAlphaMask(PyObject *self, PyObject *args) +{ + Image * x0; + Image x1; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "ImageAlphaMask", 2, 2, &arg0, &arg1)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(672), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Image *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(672), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + if (_cffi_to_c((char *)&x1, _cffi_type(17), arg1) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { ImageAlphaMask(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_ImageAlphaMask(Image * x0, Image *x1) +{ + { ImageAlphaMask(x0, *x1); } +} +#endif + +static void _cffi_d_ImageAlphaPremultiply(Image * x0) +{ + ImageAlphaPremultiply(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ImageAlphaPremultiply(PyObject *self, PyObject *arg0) +{ + Image * x0; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(672), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Image *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(672), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { ImageAlphaPremultiply(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_ImageAlphaPremultiply _cffi_d_ImageAlphaPremultiply +#endif + +static void _cffi_d_ImageClearBackground(Image * x0, Color x1) +{ + ImageClearBackground(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ImageClearBackground(PyObject *self, PyObject *args) +{ + Image * x0; + Color x1; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "ImageClearBackground", 2, 2, &arg0, &arg1)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(672), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Image *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(672), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + if (_cffi_to_c((char *)&x1, _cffi_type(25), arg1) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { ImageClearBackground(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_ImageClearBackground(Image * x0, Color *x1) +{ + { ImageClearBackground(x0, *x1); } +} +#endif + +static void _cffi_d_ImageColorBrightness(Image * x0, int x1) +{ + ImageColorBrightness(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ImageColorBrightness(PyObject *self, PyObject *args) +{ + Image * x0; + int x1; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "ImageColorBrightness", 2, 2, &arg0, &arg1)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(672), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Image *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(672), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { ImageColorBrightness(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_ImageColorBrightness _cffi_d_ImageColorBrightness +#endif + +static void _cffi_d_ImageColorContrast(Image * x0, float x1) +{ + ImageColorContrast(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ImageColorContrast(PyObject *self, PyObject *args) +{ + Image * x0; + float x1; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "ImageColorContrast", 2, 2, &arg0, &arg1)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(672), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Image *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(672), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + x1 = (float)_cffi_to_c_float(arg1); + if (x1 == (float)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { ImageColorContrast(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_ImageColorContrast _cffi_d_ImageColorContrast +#endif + +static void _cffi_d_ImageColorGrayscale(Image * x0) +{ + ImageColorGrayscale(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ImageColorGrayscale(PyObject *self, PyObject *arg0) +{ + Image * x0; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(672), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Image *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(672), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { ImageColorGrayscale(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_ImageColorGrayscale _cffi_d_ImageColorGrayscale +#endif + +static void _cffi_d_ImageColorInvert(Image * x0) +{ + ImageColorInvert(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ImageColorInvert(PyObject *self, PyObject *arg0) +{ + Image * x0; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(672), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Image *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(672), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { ImageColorInvert(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_ImageColorInvert _cffi_d_ImageColorInvert +#endif + +static void _cffi_d_ImageColorReplace(Image * x0, Color x1, Color x2) +{ + ImageColorReplace(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ImageColorReplace(PyObject *self, PyObject *args) +{ + Image * x0; + Color x1; + Color x2; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "ImageColorReplace", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(672), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Image *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(672), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + if (_cffi_to_c((char *)&x1, _cffi_type(25), arg1) < 0) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(25), arg2) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { ImageColorReplace(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_ImageColorReplace(Image * x0, Color *x1, Color *x2) +{ + { ImageColorReplace(x0, *x1, *x2); } +} +#endif + +static void _cffi_d_ImageColorTint(Image * x0, Color x1) +{ + ImageColorTint(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ImageColorTint(PyObject *self, PyObject *args) +{ + Image * x0; + Color x1; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "ImageColorTint", 2, 2, &arg0, &arg1)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(672), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Image *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(672), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + if (_cffi_to_c((char *)&x1, _cffi_type(25), arg1) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { ImageColorTint(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_ImageColorTint(Image * x0, Color *x1) +{ + { ImageColorTint(x0, *x1); } +} +#endif + +static Image _cffi_d_ImageCopy(Image x0) +{ + return ImageCopy(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ImageCopy(PyObject *self, PyObject *arg0) +{ + Image x0; + Image result; + PyObject *pyresult; + + if (_cffi_to_c((char *)&x0, _cffi_type(17), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = ImageCopy(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(17)); + return pyresult; +} +#else +static void _cffi_f_ImageCopy(Image *result, Image *x0) +{ + { *result = ImageCopy(*x0); } +} +#endif + +static void _cffi_d_ImageCrop(Image * x0, Rectangle x1) +{ + ImageCrop(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ImageCrop(PyObject *self, PyObject *args) +{ + Image * x0; + Rectangle x1; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "ImageCrop", 2, 2, &arg0, &arg1)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(672), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Image *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(672), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + if (_cffi_to_c((char *)&x1, _cffi_type(92), arg1) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { ImageCrop(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_ImageCrop(Image * x0, Rectangle *x1) +{ + { ImageCrop(x0, *x1); } +} +#endif + +static void _cffi_d_ImageDither(Image * x0, int x1, int x2, int x3, int x4) +{ + ImageDither(x0, x1, x2, x3, x4); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ImageDither(PyObject *self, PyObject *args) +{ + Image * x0; + int x1; + int x2; + int x3; + int x4; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + + if (!PyArg_UnpackTuple(args, "ImageDither", 5, 5, &arg0, &arg1, &arg2, &arg3, &arg4)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(672), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Image *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(672), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + x3 = _cffi_to_c_int(arg3, int); + if (x3 == (int)-1 && PyErr_Occurred()) + return NULL; + + x4 = _cffi_to_c_int(arg4, int); + if (x4 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { ImageDither(x0, x1, x2, x3, x4); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_ImageDither _cffi_d_ImageDither +#endif + +static void _cffi_d_ImageDraw(Image * x0, Image x1, Rectangle x2, Rectangle x3, Color x4) +{ + ImageDraw(x0, x1, x2, x3, x4); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ImageDraw(PyObject *self, PyObject *args) +{ + Image * x0; + Image x1; + Rectangle x2; + Rectangle x3; + Color x4; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + + if (!PyArg_UnpackTuple(args, "ImageDraw", 5, 5, &arg0, &arg1, &arg2, &arg3, &arg4)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(672), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Image *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(672), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + if (_cffi_to_c((char *)&x1, _cffi_type(17), arg1) < 0) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(92), arg2) < 0) + return NULL; + + if (_cffi_to_c((char *)&x3, _cffi_type(92), arg3) < 0) + return NULL; + + if (_cffi_to_c((char *)&x4, _cffi_type(25), arg4) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { ImageDraw(x0, x1, x2, x3, x4); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_ImageDraw(Image * x0, Image *x1, Rectangle *x2, Rectangle *x3, Color *x4) +{ + { ImageDraw(x0, *x1, *x2, *x3, *x4); } +} +#endif + +static void _cffi_d_ImageDrawCircle(Image * x0, int x1, int x2, int x3, Color x4) +{ + ImageDrawCircle(x0, x1, x2, x3, x4); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ImageDrawCircle(PyObject *self, PyObject *args) +{ + Image * x0; + int x1; + int x2; + int x3; + Color x4; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + + if (!PyArg_UnpackTuple(args, "ImageDrawCircle", 5, 5, &arg0, &arg1, &arg2, &arg3, &arg4)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(672), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Image *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(672), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + x3 = _cffi_to_c_int(arg3, int); + if (x3 == (int)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x4, _cffi_type(25), arg4) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { ImageDrawCircle(x0, x1, x2, x3, x4); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_ImageDrawCircle(Image * x0, int x1, int x2, int x3, Color *x4) +{ + { ImageDrawCircle(x0, x1, x2, x3, *x4); } +} +#endif + +static void _cffi_d_ImageDrawCircleV(Image * x0, Vector2 x1, int x2, Color x3) +{ + ImageDrawCircleV(x0, x1, x2, x3); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ImageDrawCircleV(PyObject *self, PyObject *args) +{ + Image * x0; + Vector2 x1; + int x2; + Color x3; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + + if (!PyArg_UnpackTuple(args, "ImageDrawCircleV", 4, 4, &arg0, &arg1, &arg2, &arg3)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(672), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Image *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(672), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + if (_cffi_to_c((char *)&x1, _cffi_type(226), arg1) < 0) + return NULL; + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x3, _cffi_type(25), arg3) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { ImageDrawCircleV(x0, x1, x2, x3); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_ImageDrawCircleV(Image * x0, Vector2 *x1, int x2, Color *x3) +{ + { ImageDrawCircleV(x0, *x1, x2, *x3); } +} +#endif + +static void _cffi_d_ImageDrawLine(Image * x0, int x1, int x2, int x3, int x4, Color x5) +{ + ImageDrawLine(x0, x1, x2, x3, x4, x5); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ImageDrawLine(PyObject *self, PyObject *args) +{ + Image * x0; + int x1; + int x2; + int x3; + int x4; + Color x5; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + PyObject *arg5; + + if (!PyArg_UnpackTuple(args, "ImageDrawLine", 6, 6, &arg0, &arg1, &arg2, &arg3, &arg4, &arg5)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(672), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Image *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(672), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + x3 = _cffi_to_c_int(arg3, int); + if (x3 == (int)-1 && PyErr_Occurred()) + return NULL; + + x4 = _cffi_to_c_int(arg4, int); + if (x4 == (int)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x5, _cffi_type(25), arg5) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { ImageDrawLine(x0, x1, x2, x3, x4, x5); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_ImageDrawLine(Image * x0, int x1, int x2, int x3, int x4, Color *x5) +{ + { ImageDrawLine(x0, x1, x2, x3, x4, *x5); } +} +#endif + +static void _cffi_d_ImageDrawLineV(Image * x0, Vector2 x1, Vector2 x2, Color x3) +{ + ImageDrawLineV(x0, x1, x2, x3); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ImageDrawLineV(PyObject *self, PyObject *args) +{ + Image * x0; + Vector2 x1; + Vector2 x2; + Color x3; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + + if (!PyArg_UnpackTuple(args, "ImageDrawLineV", 4, 4, &arg0, &arg1, &arg2, &arg3)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(672), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Image *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(672), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + if (_cffi_to_c((char *)&x1, _cffi_type(226), arg1) < 0) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(226), arg2) < 0) + return NULL; + + if (_cffi_to_c((char *)&x3, _cffi_type(25), arg3) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { ImageDrawLineV(x0, x1, x2, x3); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_ImageDrawLineV(Image * x0, Vector2 *x1, Vector2 *x2, Color *x3) +{ + { ImageDrawLineV(x0, *x1, *x2, *x3); } +} +#endif + +static void _cffi_d_ImageDrawPixel(Image * x0, int x1, int x2, Color x3) +{ + ImageDrawPixel(x0, x1, x2, x3); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ImageDrawPixel(PyObject *self, PyObject *args) +{ + Image * x0; + int x1; + int x2; + Color x3; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + + if (!PyArg_UnpackTuple(args, "ImageDrawPixel", 4, 4, &arg0, &arg1, &arg2, &arg3)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(672), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Image *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(672), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x3, _cffi_type(25), arg3) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { ImageDrawPixel(x0, x1, x2, x3); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_ImageDrawPixel(Image * x0, int x1, int x2, Color *x3) +{ + { ImageDrawPixel(x0, x1, x2, *x3); } +} +#endif + +static void _cffi_d_ImageDrawPixelV(Image * x0, Vector2 x1, Color x2) +{ + ImageDrawPixelV(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ImageDrawPixelV(PyObject *self, PyObject *args) +{ + Image * x0; + Vector2 x1; + Color x2; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "ImageDrawPixelV", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(672), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Image *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(672), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + if (_cffi_to_c((char *)&x1, _cffi_type(226), arg1) < 0) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(25), arg2) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { ImageDrawPixelV(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_ImageDrawPixelV(Image * x0, Vector2 *x1, Color *x2) +{ + { ImageDrawPixelV(x0, *x1, *x2); } +} +#endif + +static void _cffi_d_ImageDrawRectangle(Image * x0, int x1, int x2, int x3, int x4, Color x5) +{ + ImageDrawRectangle(x0, x1, x2, x3, x4, x5); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ImageDrawRectangle(PyObject *self, PyObject *args) +{ + Image * x0; + int x1; + int x2; + int x3; + int x4; + Color x5; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + PyObject *arg5; + + if (!PyArg_UnpackTuple(args, "ImageDrawRectangle", 6, 6, &arg0, &arg1, &arg2, &arg3, &arg4, &arg5)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(672), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Image *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(672), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + x3 = _cffi_to_c_int(arg3, int); + if (x3 == (int)-1 && PyErr_Occurred()) + return NULL; + + x4 = _cffi_to_c_int(arg4, int); + if (x4 == (int)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x5, _cffi_type(25), arg5) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { ImageDrawRectangle(x0, x1, x2, x3, x4, x5); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_ImageDrawRectangle(Image * x0, int x1, int x2, int x3, int x4, Color *x5) +{ + { ImageDrawRectangle(x0, x1, x2, x3, x4, *x5); } +} +#endif + +static void _cffi_d_ImageDrawRectangleLines(Image * x0, Rectangle x1, int x2, Color x3) +{ + ImageDrawRectangleLines(x0, x1, x2, x3); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ImageDrawRectangleLines(PyObject *self, PyObject *args) +{ + Image * x0; + Rectangle x1; + int x2; + Color x3; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + + if (!PyArg_UnpackTuple(args, "ImageDrawRectangleLines", 4, 4, &arg0, &arg1, &arg2, &arg3)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(672), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Image *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(672), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + if (_cffi_to_c((char *)&x1, _cffi_type(92), arg1) < 0) + return NULL; + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x3, _cffi_type(25), arg3) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { ImageDrawRectangleLines(x0, x1, x2, x3); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_ImageDrawRectangleLines(Image * x0, Rectangle *x1, int x2, Color *x3) +{ + { ImageDrawRectangleLines(x0, *x1, x2, *x3); } +} +#endif + +static void _cffi_d_ImageDrawRectangleRec(Image * x0, Rectangle x1, Color x2) +{ + ImageDrawRectangleRec(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ImageDrawRectangleRec(PyObject *self, PyObject *args) +{ + Image * x0; + Rectangle x1; + Color x2; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "ImageDrawRectangleRec", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(672), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Image *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(672), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + if (_cffi_to_c((char *)&x1, _cffi_type(92), arg1) < 0) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(25), arg2) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { ImageDrawRectangleRec(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_ImageDrawRectangleRec(Image * x0, Rectangle *x1, Color *x2) +{ + { ImageDrawRectangleRec(x0, *x1, *x2); } +} +#endif + +static void _cffi_d_ImageDrawRectangleV(Image * x0, Vector2 x1, Vector2 x2, Color x3) +{ + ImageDrawRectangleV(x0, x1, x2, x3); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ImageDrawRectangleV(PyObject *self, PyObject *args) +{ + Image * x0; + Vector2 x1; + Vector2 x2; + Color x3; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + + if (!PyArg_UnpackTuple(args, "ImageDrawRectangleV", 4, 4, &arg0, &arg1, &arg2, &arg3)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(672), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Image *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(672), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + if (_cffi_to_c((char *)&x1, _cffi_type(226), arg1) < 0) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(226), arg2) < 0) + return NULL; + + if (_cffi_to_c((char *)&x3, _cffi_type(25), arg3) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { ImageDrawRectangleV(x0, x1, x2, x3); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_ImageDrawRectangleV(Image * x0, Vector2 *x1, Vector2 *x2, Color *x3) +{ + { ImageDrawRectangleV(x0, *x1, *x2, *x3); } +} +#endif + +static void _cffi_d_ImageDrawText(Image * x0, char const * x1, int x2, int x3, int x4, Color x5) +{ + ImageDrawText(x0, x1, x2, x3, x4, x5); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ImageDrawText(PyObject *self, PyObject *args) +{ + Image * x0; + char const * x1; + int x2; + int x3; + int x4; + Color x5; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + PyObject *arg5; + + if (!PyArg_UnpackTuple(args, "ImageDrawText", 6, 6, &arg0, &arg1, &arg2, &arg3, &arg4, &arg5)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(672), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Image *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(672), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg1, (char **)&x1); + if (datasize != 0) { + x1 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg1, (char **)&x1, + datasize, &large_args_free) < 0) + return NULL; + } + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + x3 = _cffi_to_c_int(arg3, int); + if (x3 == (int)-1 && PyErr_Occurred()) + return NULL; + + x4 = _cffi_to_c_int(arg4, int); + if (x4 == (int)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x5, _cffi_type(25), arg5) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { ImageDrawText(x0, x1, x2, x3, x4, x5); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_ImageDrawText(Image * x0, char const * x1, int x2, int x3, int x4, Color *x5) +{ + { ImageDrawText(x0, x1, x2, x3, x4, *x5); } +} +#endif + +static void _cffi_d_ImageDrawTextEx(Image * x0, Font x1, char const * x2, Vector2 x3, float x4, float x5, Color x6) +{ + ImageDrawTextEx(x0, x1, x2, x3, x4, x5, x6); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ImageDrawTextEx(PyObject *self, PyObject *args) +{ + Image * x0; + Font x1; + char const * x2; + Vector2 x3; + float x4; + float x5; + Color x6; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + PyObject *arg5; + PyObject *arg6; + + if (!PyArg_UnpackTuple(args, "ImageDrawTextEx", 7, 7, &arg0, &arg1, &arg2, &arg3, &arg4, &arg5, &arg6)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(672), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Image *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(672), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + if (_cffi_to_c((char *)&x1, _cffi_type(81), arg1) < 0) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg2, (char **)&x2); + if (datasize != 0) { + x2 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg2, (char **)&x2, + datasize, &large_args_free) < 0) + return NULL; + } + + if (_cffi_to_c((char *)&x3, _cffi_type(226), arg3) < 0) + return NULL; + + x4 = (float)_cffi_to_c_float(arg4); + if (x4 == (float)-1 && PyErr_Occurred()) + return NULL; + + x5 = (float)_cffi_to_c_float(arg5); + if (x5 == (float)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x6, _cffi_type(25), arg6) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { ImageDrawTextEx(x0, x1, x2, x3, x4, x5, x6); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_ImageDrawTextEx(Image * x0, Font *x1, char const * x2, Vector2 *x3, float x4, float x5, Color *x6) +{ + { ImageDrawTextEx(x0, *x1, x2, *x3, x4, x5, *x6); } +} +#endif + +static void _cffi_d_ImageFlipHorizontal(Image * x0) +{ + ImageFlipHorizontal(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ImageFlipHorizontal(PyObject *self, PyObject *arg0) +{ + Image * x0; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(672), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Image *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(672), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { ImageFlipHorizontal(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_ImageFlipHorizontal _cffi_d_ImageFlipHorizontal +#endif + +static void _cffi_d_ImageFlipVertical(Image * x0) +{ + ImageFlipVertical(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ImageFlipVertical(PyObject *self, PyObject *arg0) +{ + Image * x0; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(672), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Image *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(672), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { ImageFlipVertical(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_ImageFlipVertical _cffi_d_ImageFlipVertical +#endif + +static void _cffi_d_ImageFormat(Image * x0, int x1) +{ + ImageFormat(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ImageFormat(PyObject *self, PyObject *args) +{ + Image * x0; + int x1; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "ImageFormat", 2, 2, &arg0, &arg1)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(672), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Image *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(672), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { ImageFormat(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_ImageFormat _cffi_d_ImageFormat +#endif + +static Image _cffi_d_ImageFromImage(Image x0, Rectangle x1) +{ + return ImageFromImage(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ImageFromImage(PyObject *self, PyObject *args) +{ + Image x0; + Rectangle x1; + Image result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "ImageFromImage", 2, 2, &arg0, &arg1)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(17), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(92), arg1) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = ImageFromImage(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(17)); + return pyresult; +} +#else +static void _cffi_f_ImageFromImage(Image *result, Image *x0, Rectangle *x1) +{ + { *result = ImageFromImage(*x0, *x1); } +} +#endif + +static void _cffi_d_ImageMipmaps(Image * x0) +{ + ImageMipmaps(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ImageMipmaps(PyObject *self, PyObject *arg0) +{ + Image * x0; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(672), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Image *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(672), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { ImageMipmaps(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_ImageMipmaps _cffi_d_ImageMipmaps +#endif + +static void _cffi_d_ImageResize(Image * x0, int x1, int x2) +{ + ImageResize(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ImageResize(PyObject *self, PyObject *args) +{ + Image * x0; + int x1; + int x2; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "ImageResize", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(672), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Image *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(672), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { ImageResize(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_ImageResize _cffi_d_ImageResize +#endif + +static void _cffi_d_ImageResizeCanvas(Image * x0, int x1, int x2, int x3, int x4, Color x5) +{ + ImageResizeCanvas(x0, x1, x2, x3, x4, x5); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ImageResizeCanvas(PyObject *self, PyObject *args) +{ + Image * x0; + int x1; + int x2; + int x3; + int x4; + Color x5; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + PyObject *arg5; + + if (!PyArg_UnpackTuple(args, "ImageResizeCanvas", 6, 6, &arg0, &arg1, &arg2, &arg3, &arg4, &arg5)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(672), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Image *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(672), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + x3 = _cffi_to_c_int(arg3, int); + if (x3 == (int)-1 && PyErr_Occurred()) + return NULL; + + x4 = _cffi_to_c_int(arg4, int); + if (x4 == (int)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x5, _cffi_type(25), arg5) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { ImageResizeCanvas(x0, x1, x2, x3, x4, x5); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_ImageResizeCanvas(Image * x0, int x1, int x2, int x3, int x4, Color *x5) +{ + { ImageResizeCanvas(x0, x1, x2, x3, x4, *x5); } +} +#endif + +static void _cffi_d_ImageResizeNN(Image * x0, int x1, int x2) +{ + ImageResizeNN(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ImageResizeNN(PyObject *self, PyObject *args) +{ + Image * x0; + int x1; + int x2; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "ImageResizeNN", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(672), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Image *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(672), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { ImageResizeNN(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_ImageResizeNN _cffi_d_ImageResizeNN +#endif + +static void _cffi_d_ImageRotateCCW(Image * x0) +{ + ImageRotateCCW(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ImageRotateCCW(PyObject *self, PyObject *arg0) +{ + Image * x0; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(672), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Image *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(672), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { ImageRotateCCW(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_ImageRotateCCW _cffi_d_ImageRotateCCW +#endif + +static void _cffi_d_ImageRotateCW(Image * x0) +{ + ImageRotateCW(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ImageRotateCW(PyObject *self, PyObject *arg0) +{ + Image * x0; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(672), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Image *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(672), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { ImageRotateCW(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_ImageRotateCW _cffi_d_ImageRotateCW +#endif + +static Image _cffi_d_ImageText(char const * x0, int x1, Color x2) +{ + return ImageText(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ImageText(PyObject *self, PyObject *args) +{ + char const * x0; + int x1; + Color x2; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + Image result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "ImageText", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(25), arg2) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = ImageText(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(17)); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +static void _cffi_f_ImageText(Image *result, char const * x0, int x1, Color *x2) +{ + { *result = ImageText(x0, x1, *x2); } +} +#endif + +static Image _cffi_d_ImageTextEx(Font x0, char const * x1, float x2, float x3, Color x4) +{ + return ImageTextEx(x0, x1, x2, x3, x4); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ImageTextEx(PyObject *self, PyObject *args) +{ + Font x0; + char const * x1; + float x2; + float x3; + Color x4; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + Image result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + + if (!PyArg_UnpackTuple(args, "ImageTextEx", 5, 5, &arg0, &arg1, &arg2, &arg3, &arg4)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(81), arg0) < 0) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg1, (char **)&x1); + if (datasize != 0) { + x1 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg1, (char **)&x1, + datasize, &large_args_free) < 0) + return NULL; + } + + x2 = (float)_cffi_to_c_float(arg2); + if (x2 == (float)-1 && PyErr_Occurred()) + return NULL; + + x3 = (float)_cffi_to_c_float(arg3); + if (x3 == (float)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x4, _cffi_type(25), arg4) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = ImageTextEx(x0, x1, x2, x3, x4); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(17)); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +static void _cffi_f_ImageTextEx(Image *result, Font *x0, char const * x1, float x2, float x3, Color *x4) +{ + { *result = ImageTextEx(*x0, x1, x2, x3, *x4); } +} +#endif + +static void _cffi_d_ImageToPOT(Image * x0, Color x1) +{ + ImageToPOT(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ImageToPOT(PyObject *self, PyObject *args) +{ + Image * x0; + Color x1; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "ImageToPOT", 2, 2, &arg0, &arg1)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(672), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Image *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(672), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + if (_cffi_to_c((char *)&x1, _cffi_type(25), arg1) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { ImageToPOT(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_ImageToPOT(Image * x0, Color *x1) +{ + { ImageToPOT(x0, *x1); } +} +#endif + +static void _cffi_d_InitAudioDevice(void) +{ + InitAudioDevice(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_InitAudioDevice(PyObject *self, PyObject *noarg) +{ + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { InitAudioDevice(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_InitAudioDevice _cffi_d_InitAudioDevice +#endif + +static AudioStream _cffi_d_InitAudioStream(unsigned int x0, unsigned int x1, unsigned int x2) +{ + return InitAudioStream(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_InitAudioStream(PyObject *self, PyObject *args) +{ + unsigned int x0; + unsigned int x1; + unsigned int x2; + AudioStream result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "InitAudioStream", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + x0 = _cffi_to_c_int(arg0, unsigned int); + if (x0 == (unsigned int)-1 && PyErr_Occurred()) + return NULL; + + x1 = _cffi_to_c_int(arg1, unsigned int); + if (x1 == (unsigned int)-1 && PyErr_Occurred()) + return NULL; + + x2 = _cffi_to_c_int(arg2, unsigned int); + if (x2 == (unsigned int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = InitAudioStream(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(398)); + return pyresult; +} +#else +static void _cffi_f_InitAudioStream(AudioStream *result, unsigned int x0, unsigned int x1, unsigned int x2) +{ + { *result = InitAudioStream(x0, x1, x2); } +} +#endif + +static void _cffi_d_InitWindow(int x0, int x1, char const * x2) +{ + InitWindow(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_InitWindow(PyObject *self, PyObject *args) +{ + int x0; + int x1; + char const * x2; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "InitWindow", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg2, (char **)&x2); + if (datasize != 0) { + x2 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg2, (char **)&x2, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { InitWindow(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_InitWindow _cffi_d_InitWindow +#endif + +static int _cffi_d_IsAudioDeviceReady(void) +{ + return IsAudioDeviceReady(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_IsAudioDeviceReady(PyObject *self, PyObject *noarg) +{ + int result; + PyObject *pyresult; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = IsAudioDeviceReady(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_IsAudioDeviceReady _cffi_d_IsAudioDeviceReady +#endif + +static int _cffi_d_IsAudioStreamPlaying(AudioStream x0) +{ + return IsAudioStreamPlaying(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_IsAudioStreamPlaying(PyObject *self, PyObject *arg0) +{ + AudioStream x0; + int result; + PyObject *pyresult; + + if (_cffi_to_c((char *)&x0, _cffi_type(398), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = IsAudioStreamPlaying(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +static int _cffi_f_IsAudioStreamPlaying(AudioStream *x0) +{ + int result; + { result = IsAudioStreamPlaying(*x0); } + return result; +} +#endif + +static int _cffi_d_IsAudioStreamProcessed(AudioStream x0) +{ + return IsAudioStreamProcessed(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_IsAudioStreamProcessed(PyObject *self, PyObject *arg0) +{ + AudioStream x0; + int result; + PyObject *pyresult; + + if (_cffi_to_c((char *)&x0, _cffi_type(398), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = IsAudioStreamProcessed(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +static int _cffi_f_IsAudioStreamProcessed(AudioStream *x0) +{ + int result; + { result = IsAudioStreamProcessed(*x0); } + return result; +} +#endif + +static int _cffi_d_IsCursorHidden(void) +{ + return IsCursorHidden(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_IsCursorHidden(PyObject *self, PyObject *noarg) +{ + int result; + PyObject *pyresult; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = IsCursorHidden(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_IsCursorHidden _cffi_d_IsCursorHidden +#endif + +static int _cffi_d_IsCursorOnScreen(void) +{ + return IsCursorOnScreen(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_IsCursorOnScreen(PyObject *self, PyObject *noarg) +{ + int result; + PyObject *pyresult; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = IsCursorOnScreen(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_IsCursorOnScreen _cffi_d_IsCursorOnScreen +#endif + +static int _cffi_d_IsFileDropped(void) +{ + return IsFileDropped(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_IsFileDropped(PyObject *self, PyObject *noarg) +{ + int result; + PyObject *pyresult; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = IsFileDropped(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_IsFileDropped _cffi_d_IsFileDropped +#endif + +static int _cffi_d_IsFileExtension(char const * x0, char const * x1) +{ + return IsFileExtension(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_IsFileExtension(PyObject *self, PyObject *args) +{ + char const * x0; + char const * x1; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + int result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "IsFileExtension", 2, 2, &arg0, &arg1)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg1, (char **)&x1); + if (datasize != 0) { + x1 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg1, (char **)&x1, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = IsFileExtension(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +# define _cffi_f_IsFileExtension _cffi_d_IsFileExtension +#endif + +static int _cffi_d_IsGamepadAvailable(int x0) +{ + return IsGamepadAvailable(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_IsGamepadAvailable(PyObject *self, PyObject *arg0) +{ + int x0; + int result; + PyObject *pyresult; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = IsGamepadAvailable(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_IsGamepadAvailable _cffi_d_IsGamepadAvailable +#endif + +static int _cffi_d_IsGamepadButtonDown(int x0, int x1) +{ + return IsGamepadButtonDown(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_IsGamepadButtonDown(PyObject *self, PyObject *args) +{ + int x0; + int x1; + int result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "IsGamepadButtonDown", 2, 2, &arg0, &arg1)) + return NULL; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = IsGamepadButtonDown(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_IsGamepadButtonDown _cffi_d_IsGamepadButtonDown +#endif + +static int _cffi_d_IsGamepadButtonPressed(int x0, int x1) +{ + return IsGamepadButtonPressed(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_IsGamepadButtonPressed(PyObject *self, PyObject *args) +{ + int x0; + int x1; + int result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "IsGamepadButtonPressed", 2, 2, &arg0, &arg1)) + return NULL; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = IsGamepadButtonPressed(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_IsGamepadButtonPressed _cffi_d_IsGamepadButtonPressed +#endif + +static int _cffi_d_IsGamepadButtonReleased(int x0, int x1) +{ + return IsGamepadButtonReleased(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_IsGamepadButtonReleased(PyObject *self, PyObject *args) +{ + int x0; + int x1; + int result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "IsGamepadButtonReleased", 2, 2, &arg0, &arg1)) + return NULL; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = IsGamepadButtonReleased(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_IsGamepadButtonReleased _cffi_d_IsGamepadButtonReleased +#endif + +static int _cffi_d_IsGamepadButtonUp(int x0, int x1) +{ + return IsGamepadButtonUp(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_IsGamepadButtonUp(PyObject *self, PyObject *args) +{ + int x0; + int x1; + int result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "IsGamepadButtonUp", 2, 2, &arg0, &arg1)) + return NULL; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = IsGamepadButtonUp(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_IsGamepadButtonUp _cffi_d_IsGamepadButtonUp +#endif + +static int _cffi_d_IsGamepadName(int x0, char const * x1) +{ + return IsGamepadName(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_IsGamepadName(PyObject *self, PyObject *args) +{ + int x0; + char const * x1; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + int result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "IsGamepadName", 2, 2, &arg0, &arg1)) + return NULL; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg1, (char **)&x1); + if (datasize != 0) { + x1 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg1, (char **)&x1, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = IsGamepadName(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +# define _cffi_f_IsGamepadName _cffi_d_IsGamepadName +#endif + +static int _cffi_d_IsGestureDetected(int x0) +{ + return IsGestureDetected(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_IsGestureDetected(PyObject *self, PyObject *arg0) +{ + int x0; + int result; + PyObject *pyresult; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = IsGestureDetected(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_IsGestureDetected _cffi_d_IsGestureDetected +#endif + +static int _cffi_d_IsKeyDown(int x0) +{ + return IsKeyDown(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_IsKeyDown(PyObject *self, PyObject *arg0) +{ + int x0; + int result; + PyObject *pyresult; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = IsKeyDown(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_IsKeyDown _cffi_d_IsKeyDown +#endif + +static int _cffi_d_IsKeyPressed(int x0) +{ + return IsKeyPressed(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_IsKeyPressed(PyObject *self, PyObject *arg0) +{ + int x0; + int result; + PyObject *pyresult; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = IsKeyPressed(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_IsKeyPressed _cffi_d_IsKeyPressed +#endif + +static int _cffi_d_IsKeyReleased(int x0) +{ + return IsKeyReleased(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_IsKeyReleased(PyObject *self, PyObject *arg0) +{ + int x0; + int result; + PyObject *pyresult; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = IsKeyReleased(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_IsKeyReleased _cffi_d_IsKeyReleased +#endif + +static int _cffi_d_IsKeyUp(int x0) +{ + return IsKeyUp(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_IsKeyUp(PyObject *self, PyObject *arg0) +{ + int x0; + int result; + PyObject *pyresult; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = IsKeyUp(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_IsKeyUp _cffi_d_IsKeyUp +#endif + +static int _cffi_d_IsModelAnimationValid(Model x0, ModelAnimation x1) +{ + return IsModelAnimationValid(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_IsModelAnimationValid(PyObject *self, PyObject *args) +{ + Model x0; + ModelAnimation x1; + int result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "IsModelAnimationValid", 2, 2, &arg0, &arg1)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(236), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(426), arg1) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = IsModelAnimationValid(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +static int _cffi_f_IsModelAnimationValid(Model *x0, ModelAnimation *x1) +{ + int result; + { result = IsModelAnimationValid(*x0, *x1); } + return result; +} +#endif + +static int _cffi_d_IsMouseButtonDown(int x0) +{ + return IsMouseButtonDown(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_IsMouseButtonDown(PyObject *self, PyObject *arg0) +{ + int x0; + int result; + PyObject *pyresult; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = IsMouseButtonDown(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_IsMouseButtonDown _cffi_d_IsMouseButtonDown +#endif + +static int _cffi_d_IsMouseButtonPressed(int x0) +{ + return IsMouseButtonPressed(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_IsMouseButtonPressed(PyObject *self, PyObject *arg0) +{ + int x0; + int result; + PyObject *pyresult; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = IsMouseButtonPressed(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_IsMouseButtonPressed _cffi_d_IsMouseButtonPressed +#endif + +static int _cffi_d_IsMouseButtonReleased(int x0) +{ + return IsMouseButtonReleased(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_IsMouseButtonReleased(PyObject *self, PyObject *arg0) +{ + int x0; + int result; + PyObject *pyresult; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = IsMouseButtonReleased(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_IsMouseButtonReleased _cffi_d_IsMouseButtonReleased +#endif + +static int _cffi_d_IsMouseButtonUp(int x0) +{ + return IsMouseButtonUp(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_IsMouseButtonUp(PyObject *self, PyObject *arg0) +{ + int x0; + int result; + PyObject *pyresult; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = IsMouseButtonUp(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_IsMouseButtonUp _cffi_d_IsMouseButtonUp +#endif + +static int _cffi_d_IsMusicPlaying(Music x0) +{ + return IsMusicPlaying(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_IsMusicPlaying(PyObject *self, PyObject *arg0) +{ + Music x0; + int result; + PyObject *pyresult; + + if (_cffi_to_c((char *)&x0, _cffi_type(385), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = IsMusicPlaying(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +static int _cffi_f_IsMusicPlaying(Music *x0) +{ + int result; + { result = IsMusicPlaying(*x0); } + return result; +} +#endif + +static int _cffi_d_IsSoundPlaying(Sound x0) +{ + return IsSoundPlaying(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_IsSoundPlaying(PyObject *self, PyObject *arg0) +{ + Sound x0; + int result; + PyObject *pyresult; + + if (_cffi_to_c((char *)&x0, _cffi_type(455), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = IsSoundPlaying(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +static int _cffi_f_IsSoundPlaying(Sound *x0) +{ + int result; + { result = IsSoundPlaying(*x0); } + return result; +} +#endif + +static int _cffi_d_IsWindowFocused(void) +{ + return IsWindowFocused(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_IsWindowFocused(PyObject *self, PyObject *noarg) +{ + int result; + PyObject *pyresult; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = IsWindowFocused(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_IsWindowFocused _cffi_d_IsWindowFocused +#endif + +static int _cffi_d_IsWindowFullscreen(void) +{ + return IsWindowFullscreen(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_IsWindowFullscreen(PyObject *self, PyObject *noarg) +{ + int result; + PyObject *pyresult; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = IsWindowFullscreen(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_IsWindowFullscreen _cffi_d_IsWindowFullscreen +#endif + +static int _cffi_d_IsWindowHidden(void) +{ + return IsWindowHidden(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_IsWindowHidden(PyObject *self, PyObject *noarg) +{ + int result; + PyObject *pyresult; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = IsWindowHidden(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_IsWindowHidden _cffi_d_IsWindowHidden +#endif + +static int _cffi_d_IsWindowMaximized(void) +{ + return IsWindowMaximized(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_IsWindowMaximized(PyObject *self, PyObject *noarg) +{ + int result; + PyObject *pyresult; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = IsWindowMaximized(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_IsWindowMaximized _cffi_d_IsWindowMaximized +#endif + +static int _cffi_d_IsWindowMinimized(void) +{ + return IsWindowMinimized(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_IsWindowMinimized(PyObject *self, PyObject *noarg) +{ + int result; + PyObject *pyresult; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = IsWindowMinimized(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_IsWindowMinimized _cffi_d_IsWindowMinimized +#endif + +static int _cffi_d_IsWindowReady(void) +{ + return IsWindowReady(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_IsWindowReady(PyObject *self, PyObject *noarg) +{ + int result; + PyObject *pyresult; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = IsWindowReady(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_IsWindowReady _cffi_d_IsWindowReady +#endif + +static int _cffi_d_IsWindowResized(void) +{ + return IsWindowResized(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_IsWindowResized(PyObject *self, PyObject *noarg) +{ + int result; + PyObject *pyresult; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = IsWindowResized(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_IsWindowResized _cffi_d_IsWindowResized +#endif + +static int _cffi_d_IsWindowState(unsigned int x0) +{ + return IsWindowState(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_IsWindowState(PyObject *self, PyObject *arg0) +{ + unsigned int x0; + int result; + PyObject *pyresult; + + x0 = _cffi_to_c_int(arg0, unsigned int); + if (x0 == (unsigned int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = IsWindowState(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_IsWindowState _cffi_d_IsWindowState +#endif + +static unsigned char * _cffi_d_LoadFileData(char const * x0, unsigned int * x1) +{ + return LoadFileData(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_LoadFileData(PyObject *self, PyObject *args) +{ + char const * x0; + unsigned int * x1; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + unsigned char * result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "LoadFileData", 2, 2, &arg0, &arg1)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(558), arg1, (char **)&x1); + if (datasize != 0) { + x1 = ((size_t)datasize) <= 640 ? (unsigned int *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(558), arg1, (char **)&x1, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = LoadFileData(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_pointer((char *)result, _cffi_type(222)); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +# define _cffi_f_LoadFileData _cffi_d_LoadFileData +#endif + +static char * _cffi_d_LoadFileText(char const * x0) +{ + return LoadFileText(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_LoadFileText(PyObject *self, PyObject *arg0) +{ + char const * x0; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + char * result; + PyObject *pyresult; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = LoadFileText(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_pointer((char *)result, _cffi_type(333)); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +# define _cffi_f_LoadFileText _cffi_d_LoadFileText +#endif + +static Font _cffi_d_LoadFont(char const * x0) +{ + return LoadFont(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_LoadFont(PyObject *self, PyObject *arg0) +{ + char const * x0; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + Font result; + PyObject *pyresult; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = LoadFont(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(81)); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +static void _cffi_f_LoadFont(Font *result, char const * x0) +{ + { *result = LoadFont(x0); } +} +#endif + +static CharInfo * _cffi_d_LoadFontData(unsigned char const * x0, int x1, int x2, int * x3, int x4, int x5) +{ + return LoadFontData(x0, x1, x2, x3, x4, x5); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_LoadFontData(PyObject *self, PyObject *args) +{ + unsigned char const * x0; + int x1; + int x2; + int * x3; + int x4; + int x5; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + CharInfo * result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + PyObject *arg5; + + if (!PyArg_UnpackTuple(args, "LoadFontData", 6, 6, &arg0, &arg1, &arg2, &arg3, &arg4, &arg5)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(9), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (unsigned char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(9), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(12), arg3, (char **)&x3); + if (datasize != 0) { + x3 = ((size_t)datasize) <= 640 ? (int *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(12), arg3, (char **)&x3, + datasize, &large_args_free) < 0) + return NULL; + } + + x4 = _cffi_to_c_int(arg4, int); + if (x4 == (int)-1 && PyErr_Occurred()) + return NULL; + + x5 = _cffi_to_c_int(arg5, int); + if (x5 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = LoadFontData(x0, x1, x2, x3, x4, x5); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_pointer((char *)result, _cffi_type(622)); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +# define _cffi_f_LoadFontData _cffi_d_LoadFontData +#endif + +static Font _cffi_d_LoadFontEx(char const * x0, int x1, int * x2, int x3) +{ + return LoadFontEx(x0, x1, x2, x3); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_LoadFontEx(PyObject *self, PyObject *args) +{ + char const * x0; + int x1; + int * x2; + int x3; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + Font result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + + if (!PyArg_UnpackTuple(args, "LoadFontEx", 4, 4, &arg0, &arg1, &arg2, &arg3)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(12), arg2, (char **)&x2); + if (datasize != 0) { + x2 = ((size_t)datasize) <= 640 ? (int *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(12), arg2, (char **)&x2, + datasize, &large_args_free) < 0) + return NULL; + } + + x3 = _cffi_to_c_int(arg3, int); + if (x3 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = LoadFontEx(x0, x1, x2, x3); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(81)); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +static void _cffi_f_LoadFontEx(Font *result, char const * x0, int x1, int * x2, int x3) +{ + { *result = LoadFontEx(x0, x1, x2, x3); } +} +#endif + +static Font _cffi_d_LoadFontFromImage(Image x0, Color x1, int x2) +{ + return LoadFontFromImage(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_LoadFontFromImage(PyObject *self, PyObject *args) +{ + Image x0; + Color x1; + int x2; + Font result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "LoadFontFromImage", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(17), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(25), arg1) < 0) + return NULL; + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = LoadFontFromImage(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(81)); + return pyresult; +} +#else +static void _cffi_f_LoadFontFromImage(Font *result, Image *x0, Color *x1, int x2) +{ + { *result = LoadFontFromImage(*x0, *x1, x2); } +} +#endif + +static Font _cffi_d_LoadFontFromMemory(char const * x0, unsigned char const * x1, int x2, int x3, int * x4, int x5) +{ + return LoadFontFromMemory(x0, x1, x2, x3, x4, x5); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_LoadFontFromMemory(PyObject *self, PyObject *args) +{ + char const * x0; + unsigned char const * x1; + int x2; + int x3; + int * x4; + int x5; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + Font result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + PyObject *arg5; + + if (!PyArg_UnpackTuple(args, "LoadFontFromMemory", 6, 6, &arg0, &arg1, &arg2, &arg3, &arg4, &arg5)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(9), arg1, (char **)&x1); + if (datasize != 0) { + x1 = ((size_t)datasize) <= 640 ? (unsigned char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(9), arg1, (char **)&x1, + datasize, &large_args_free) < 0) + return NULL; + } + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + x3 = _cffi_to_c_int(arg3, int); + if (x3 == (int)-1 && PyErr_Occurred()) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(12), arg4, (char **)&x4); + if (datasize != 0) { + x4 = ((size_t)datasize) <= 640 ? (int *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(12), arg4, (char **)&x4, + datasize, &large_args_free) < 0) + return NULL; + } + + x5 = _cffi_to_c_int(arg5, int); + if (x5 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = LoadFontFromMemory(x0, x1, x2, x3, x4, x5); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(81)); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +static void _cffi_f_LoadFontFromMemory(Font *result, char const * x0, unsigned char const * x1, int x2, int x3, int * x4, int x5) +{ + { *result = LoadFontFromMemory(x0, x1, x2, x3, x4, x5); } +} +#endif + +static Image _cffi_d_LoadImage(char const * x0) +{ + return LoadImage(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_LoadImage(PyObject *self, PyObject *arg0) +{ + char const * x0; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + Image result; + PyObject *pyresult; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = LoadImage(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(17)); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +static void _cffi_f_LoadImage(Image *result, char const * x0) +{ + { *result = LoadImage(x0); } +} +#endif + +static Image _cffi_d_LoadImageAnim(char const * x0, int * x1) +{ + return LoadImageAnim(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_LoadImageAnim(PyObject *self, PyObject *args) +{ + char const * x0; + int * x1; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + Image result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "LoadImageAnim", 2, 2, &arg0, &arg1)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(12), arg1, (char **)&x1); + if (datasize != 0) { + x1 = ((size_t)datasize) <= 640 ? (int *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(12), arg1, (char **)&x1, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = LoadImageAnim(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(17)); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +static void _cffi_f_LoadImageAnim(Image *result, char const * x0, int * x1) +{ + { *result = LoadImageAnim(x0, x1); } +} +#endif + +static Color * _cffi_d_LoadImageColors(Image x0) +{ + return LoadImageColors(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_LoadImageColors(PyObject *self, PyObject *arg0) +{ + Image x0; + Color * result; + PyObject *pyresult; + + if (_cffi_to_c((char *)&x0, _cffi_type(17), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = LoadImageColors(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_pointer((char *)result, _cffi_type(626)); + return pyresult; +} +#else +static Color * _cffi_f_LoadImageColors(Image *x0) +{ + Color * result; + { result = LoadImageColors(*x0); } + return result; +} +#endif + +static Image _cffi_d_LoadImageFromMemory(char const * x0, unsigned char const * x1, int x2) +{ + return LoadImageFromMemory(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_LoadImageFromMemory(PyObject *self, PyObject *args) +{ + char const * x0; + unsigned char const * x1; + int x2; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + Image result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "LoadImageFromMemory", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(9), arg1, (char **)&x1); + if (datasize != 0) { + x1 = ((size_t)datasize) <= 640 ? (unsigned char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(9), arg1, (char **)&x1, + datasize, &large_args_free) < 0) + return NULL; + } + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = LoadImageFromMemory(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(17)); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +static void _cffi_f_LoadImageFromMemory(Image *result, char const * x0, unsigned char const * x1, int x2) +{ + { *result = LoadImageFromMemory(x0, x1, x2); } +} +#endif + +static Color * _cffi_d_LoadImagePalette(Image x0, int x1, int * x2) +{ + return LoadImagePalette(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_LoadImagePalette(PyObject *self, PyObject *args) +{ + Image x0; + int x1; + int * x2; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + Color * result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "LoadImagePalette", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(17), arg0) < 0) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(12), arg2, (char **)&x2); + if (datasize != 0) { + x2 = ((size_t)datasize) <= 640 ? (int *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(12), arg2, (char **)&x2, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = LoadImagePalette(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_pointer((char *)result, _cffi_type(626)); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +static Color * _cffi_f_LoadImagePalette(Image *x0, int x1, int * x2) +{ + Color * result; + { result = LoadImagePalette(*x0, x1, x2); } + return result; +} +#endif + +static Image _cffi_d_LoadImageRaw(char const * x0, int x1, int x2, int x3, int x4) +{ + return LoadImageRaw(x0, x1, x2, x3, x4); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_LoadImageRaw(PyObject *self, PyObject *args) +{ + char const * x0; + int x1; + int x2; + int x3; + int x4; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + Image result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + + if (!PyArg_UnpackTuple(args, "LoadImageRaw", 5, 5, &arg0, &arg1, &arg2, &arg3, &arg4)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + x3 = _cffi_to_c_int(arg3, int); + if (x3 == (int)-1 && PyErr_Occurred()) + return NULL; + + x4 = _cffi_to_c_int(arg4, int); + if (x4 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = LoadImageRaw(x0, x1, x2, x3, x4); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(17)); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +static void _cffi_f_LoadImageRaw(Image *result, char const * x0, int x1, int x2, int x3, int x4) +{ + { *result = LoadImageRaw(x0, x1, x2, x3, x4); } +} +#endif + +static Material _cffi_d_LoadMaterialDefault(void) +{ + return LoadMaterialDefault(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_LoadMaterialDefault(PyObject *self, PyObject *noarg) +{ + Material result; + PyObject *pyresult; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = LoadMaterialDefault(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(798)); + return pyresult; +} +#else +static void _cffi_f_LoadMaterialDefault(Material *result) +{ + { *result = LoadMaterialDefault(); } +} +#endif + +static Material * _cffi_d_LoadMaterials(char const * x0, int * x1) +{ + return LoadMaterials(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_LoadMaterials(PyObject *self, PyObject *args) +{ + char const * x0; + int * x1; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + Material * result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "LoadMaterials", 2, 2, &arg0, &arg1)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(12), arg1, (char **)&x1); + if (datasize != 0) { + x1 = ((size_t)datasize) <= 640 ? (int *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(12), arg1, (char **)&x1, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = LoadMaterials(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_pointer((char *)result, _cffi_type(793)); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +# define _cffi_f_LoadMaterials _cffi_d_LoadMaterials +#endif + +static Model _cffi_d_LoadModel(char const * x0) +{ + return LoadModel(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_LoadModel(PyObject *self, PyObject *arg0) +{ + char const * x0; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + Model result; + PyObject *pyresult; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = LoadModel(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(236)); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +static void _cffi_f_LoadModel(Model *result, char const * x0) +{ + { *result = LoadModel(x0); } +} +#endif + +static ModelAnimation * _cffi_d_LoadModelAnimations(char const * x0, int * x1) +{ + return LoadModelAnimations(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_LoadModelAnimations(PyObject *self, PyObject *args) +{ + char const * x0; + int * x1; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + ModelAnimation * result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "LoadModelAnimations", 2, 2, &arg0, &arg1)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(12), arg1, (char **)&x1); + if (datasize != 0) { + x1 = ((size_t)datasize) <= 640 ? (int *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(12), arg1, (char **)&x1, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = LoadModelAnimations(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_pointer((char *)result, _cffi_type(856)); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +# define _cffi_f_LoadModelAnimations _cffi_d_LoadModelAnimations +#endif + +static Model _cffi_d_LoadModelFromMesh(Mesh x0) +{ + return LoadModelFromMesh(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_LoadModelFromMesh(PyObject *self, PyObject *arg0) +{ + Mesh x0; + Model result; + PyObject *pyresult; + + if (_cffi_to_c((char *)&x0, _cffi_type(6), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = LoadModelFromMesh(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(236)); + return pyresult; +} +#else +static void _cffi_f_LoadModelFromMesh(Model *result, Mesh *x0) +{ + { *result = LoadModelFromMesh(*x0); } +} +#endif + +static Music _cffi_d_LoadMusicStream(char const * x0) +{ + return LoadMusicStream(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_LoadMusicStream(PyObject *self, PyObject *arg0) +{ + char const * x0; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + Music result; + PyObject *pyresult; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = LoadMusicStream(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(385)); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +static void _cffi_f_LoadMusicStream(Music *result, char const * x0) +{ + { *result = LoadMusicStream(x0); } +} +#endif + +static Music _cffi_d_LoadMusicStreamFromMemory(char const * x0, unsigned char * x1, int x2) +{ + return LoadMusicStreamFromMemory(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_LoadMusicStreamFromMemory(PyObject *self, PyObject *args) +{ + char const * x0; + unsigned char * x1; + int x2; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + Music result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "LoadMusicStreamFromMemory", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(222), arg1, (char **)&x1); + if (datasize != 0) { + x1 = ((size_t)datasize) <= 640 ? (unsigned char *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(222), arg1, (char **)&x1, + datasize, &large_args_free) < 0) + return NULL; + } + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = LoadMusicStreamFromMemory(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(385)); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +static void _cffi_f_LoadMusicStreamFromMemory(Music *result, char const * x0, unsigned char * x1, int x2) +{ + { *result = LoadMusicStreamFromMemory(x0, x1, x2); } +} +#endif + +static RenderTexture _cffi_d_LoadRenderTexture(int x0, int x1) +{ + return LoadRenderTexture(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_LoadRenderTexture(PyObject *self, PyObject *args) +{ + int x0; + int x1; + RenderTexture result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "LoadRenderTexture", 2, 2, &arg0, &arg1)) + return NULL; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = LoadRenderTexture(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(909)); + return pyresult; +} +#else +static void _cffi_f_LoadRenderTexture(RenderTexture *result, int x0, int x1) +{ + { *result = LoadRenderTexture(x0, x1); } +} +#endif + +static Shader _cffi_d_LoadShader(char const * x0, char const * x1) +{ + return LoadShader(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_LoadShader(PyObject *self, PyObject *args) +{ + char const * x0; + char const * x1; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + Shader result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "LoadShader", 2, 2, &arg0, &arg1)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg1, (char **)&x1); + if (datasize != 0) { + x1 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg1, (char **)&x1, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = LoadShader(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(451)); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +static void _cffi_f_LoadShader(Shader *result, char const * x0, char const * x1) +{ + { *result = LoadShader(x0, x1); } +} +#endif + +static Shader _cffi_d_LoadShaderFromMemory(char const * x0, char const * x1) +{ + return LoadShaderFromMemory(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_LoadShaderFromMemory(PyObject *self, PyObject *args) +{ + char const * x0; + char const * x1; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + Shader result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "LoadShaderFromMemory", 2, 2, &arg0, &arg1)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg1, (char **)&x1); + if (datasize != 0) { + x1 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg1, (char **)&x1, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = LoadShaderFromMemory(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(451)); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +static void _cffi_f_LoadShaderFromMemory(Shader *result, char const * x0, char const * x1) +{ + { *result = LoadShaderFromMemory(x0, x1); } +} +#endif + +static Sound _cffi_d_LoadSound(char const * x0) +{ + return LoadSound(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_LoadSound(PyObject *self, PyObject *arg0) +{ + char const * x0; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + Sound result; + PyObject *pyresult; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = LoadSound(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(455)); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +static void _cffi_f_LoadSound(Sound *result, char const * x0) +{ + { *result = LoadSound(x0); } +} +#endif + +static Sound _cffi_d_LoadSoundFromWave(Wave x0) +{ + return LoadSoundFromWave(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_LoadSoundFromWave(PyObject *self, PyObject *arg0) +{ + Wave x0; + Sound result; + PyObject *pyresult; + + if (_cffi_to_c((char *)&x0, _cffi_type(265), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = LoadSoundFromWave(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(455)); + return pyresult; +} +#else +static void _cffi_f_LoadSoundFromWave(Sound *result, Wave *x0) +{ + { *result = LoadSoundFromWave(*x0); } +} +#endif + +static int _cffi_d_LoadStorageValue(unsigned int x0) +{ + return LoadStorageValue(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_LoadStorageValue(PyObject *self, PyObject *arg0) +{ + unsigned int x0; + int result; + PyObject *pyresult; + + x0 = _cffi_to_c_int(arg0, unsigned int); + if (x0 == (unsigned int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = LoadStorageValue(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_LoadStorageValue _cffi_d_LoadStorageValue +#endif + +static Texture _cffi_d_LoadTexture(char const * x0) +{ + return LoadTexture(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_LoadTexture(PyObject *self, PyObject *arg0) +{ + char const * x0; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + Texture result; + PyObject *pyresult; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = LoadTexture(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(95)); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +static void _cffi_f_LoadTexture(Texture *result, char const * x0) +{ + { *result = LoadTexture(x0); } +} +#endif + +static Texture _cffi_d_LoadTextureCubemap(Image x0, int x1) +{ + return LoadTextureCubemap(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_LoadTextureCubemap(PyObject *self, PyObject *args) +{ + Image x0; + int x1; + Texture result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "LoadTextureCubemap", 2, 2, &arg0, &arg1)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(17), arg0) < 0) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = LoadTextureCubemap(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(95)); + return pyresult; +} +#else +static void _cffi_f_LoadTextureCubemap(Texture *result, Image *x0, int x1) +{ + { *result = LoadTextureCubemap(*x0, x1); } +} +#endif + +static Texture _cffi_d_LoadTextureFromImage(Image x0) +{ + return LoadTextureFromImage(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_LoadTextureFromImage(PyObject *self, PyObject *arg0) +{ + Image x0; + Texture result; + PyObject *pyresult; + + if (_cffi_to_c((char *)&x0, _cffi_type(17), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = LoadTextureFromImage(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(95)); + return pyresult; +} +#else +static void _cffi_f_LoadTextureFromImage(Texture *result, Image *x0) +{ + { *result = LoadTextureFromImage(*x0); } +} +#endif + +static VrStereoConfig _cffi_d_LoadVrStereoConfig(VrDeviceInfo x0) +{ + return LoadVrStereoConfig(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_LoadVrStereoConfig(PyObject *self, PyObject *arg0) +{ + VrDeviceInfo x0; + VrStereoConfig result; + PyObject *pyresult; + + if (_cffi_to_c((char *)&x0, _cffi_type(312), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = LoadVrStereoConfig(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(1166)); + return pyresult; +} +#else +static void _cffi_f_LoadVrStereoConfig(VrStereoConfig *result, VrDeviceInfo *x0) +{ + { *result = LoadVrStereoConfig(*x0); } +} +#endif + +static Wave _cffi_d_LoadWave(char const * x0) +{ + return LoadWave(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_LoadWave(PyObject *self, PyObject *arg0) +{ + char const * x0; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + Wave result; + PyObject *pyresult; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = LoadWave(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(265)); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +static void _cffi_f_LoadWave(Wave *result, char const * x0) +{ + { *result = LoadWave(x0); } +} +#endif + +static Wave _cffi_d_LoadWaveFromMemory(char const * x0, unsigned char const * x1, int x2) +{ + return LoadWaveFromMemory(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_LoadWaveFromMemory(PyObject *self, PyObject *args) +{ + char const * x0; + unsigned char const * x1; + int x2; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + Wave result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "LoadWaveFromMemory", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(9), arg1, (char **)&x1); + if (datasize != 0) { + x1 = ((size_t)datasize) <= 640 ? (unsigned char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(9), arg1, (char **)&x1, + datasize, &large_args_free) < 0) + return NULL; + } + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = LoadWaveFromMemory(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(265)); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +static void _cffi_f_LoadWaveFromMemory(Wave *result, char const * x0, unsigned char const * x1, int x2) +{ + { *result = LoadWaveFromMemory(x0, x1, x2); } +} +#endif + +static float * _cffi_d_LoadWaveSamples(Wave x0) +{ + return LoadWaveSamples(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_LoadWaveSamples(PyObject *self, PyObject *arg0) +{ + Wave x0; + float * result; + PyObject *pyresult; + + if (_cffi_to_c((char *)&x0, _cffi_type(265), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = LoadWaveSamples(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_pointer((char *)result, _cffi_type(1198)); + return pyresult; +} +#else +static float * _cffi_f_LoadWaveSamples(Wave *x0) +{ + float * result; + { result = LoadWaveSamples(*x0); } + return result; +} +#endif + +static void _cffi_d_MaximizeWindow(void) +{ + MaximizeWindow(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_MaximizeWindow(PyObject *self, PyObject *noarg) +{ + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { MaximizeWindow(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_MaximizeWindow _cffi_d_MaximizeWindow +#endif + +static int _cffi_d_MeasureText(char const * x0, int x1) +{ + return MeasureText(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_MeasureText(PyObject *self, PyObject *args) +{ + char const * x0; + int x1; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + int result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "MeasureText", 2, 2, &arg0, &arg1)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = MeasureText(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +# define _cffi_f_MeasureText _cffi_d_MeasureText +#endif + +static Vector2 _cffi_d_MeasureTextEx(Font x0, char const * x1, float x2, float x3) +{ + return MeasureTextEx(x0, x1, x2, x3); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_MeasureTextEx(PyObject *self, PyObject *args) +{ + Font x0; + char const * x1; + float x2; + float x3; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + Vector2 result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + + if (!PyArg_UnpackTuple(args, "MeasureTextEx", 4, 4, &arg0, &arg1, &arg2, &arg3)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(81), arg0) < 0) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg1, (char **)&x1); + if (datasize != 0) { + x1 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg1, (char **)&x1, + datasize, &large_args_free) < 0) + return NULL; + } + + x2 = (float)_cffi_to_c_float(arg2); + if (x2 == (float)-1 && PyErr_Occurred()) + return NULL; + + x3 = (float)_cffi_to_c_float(arg3); + if (x3 == (float)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = MeasureTextEx(x0, x1, x2, x3); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(226)); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +static void _cffi_f_MeasureTextEx(Vector2 *result, Font *x0, char const * x1, float x2, float x3) +{ + { *result = MeasureTextEx(*x0, x1, x2, x3); } +} +#endif + +static void * _cffi_d_MemAlloc(int x0) +{ + return MemAlloc(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_MemAlloc(PyObject *self, PyObject *arg0) +{ + int x0; + void * result; + PyObject *pyresult; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = MemAlloc(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_pointer((char *)result, _cffi_type(45)); + return pyresult; +} +#else +# define _cffi_f_MemAlloc _cffi_d_MemAlloc +#endif + +static void _cffi_d_MemFree(void * x0) +{ + MemFree(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_MemFree(PyObject *self, PyObject *arg0) +{ + void * x0; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(45), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (void *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(45), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { MemFree(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_MemFree _cffi_d_MemFree +#endif + +static void * _cffi_d_MemRealloc(void * x0, int x1) +{ + return MemRealloc(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_MemRealloc(PyObject *self, PyObject *args) +{ + void * x0; + int x1; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + void * result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "MemRealloc", 2, 2, &arg0, &arg1)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(45), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (void *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(45), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = MemRealloc(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_pointer((char *)result, _cffi_type(45)); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +# define _cffi_f_MemRealloc _cffi_d_MemRealloc +#endif + +static void _cffi_d_MeshBinormals(Mesh * x0) +{ + MeshBinormals(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_MeshBinormals(PyObject *self, PyObject *arg0) +{ + Mesh * x0; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(801), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Mesh *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(801), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { MeshBinormals(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_MeshBinormals _cffi_d_MeshBinormals +#endif + +static BoundingBox _cffi_d_MeshBoundingBox(Mesh x0) +{ + return MeshBoundingBox(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_MeshBoundingBox(PyObject *self, PyObject *arg0) +{ + Mesh x0; + BoundingBox result; + PyObject *pyresult; + + if (_cffi_to_c((char *)&x0, _cffi_type(6), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = MeshBoundingBox(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(401)); + return pyresult; +} +#else +static void _cffi_f_MeshBoundingBox(BoundingBox *result, Mesh *x0) +{ + { *result = MeshBoundingBox(*x0); } +} +#endif + +static void _cffi_d_MeshTangents(Mesh * x0) +{ + MeshTangents(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_MeshTangents(PyObject *self, PyObject *arg0) +{ + Mesh * x0; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(801), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Mesh *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(801), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { MeshTangents(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_MeshTangents _cffi_d_MeshTangents +#endif + +static void _cffi_d_MinimizeWindow(void) +{ + MinimizeWindow(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_MinimizeWindow(PyObject *self, PyObject *noarg) +{ + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { MinimizeWindow(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_MinimizeWindow _cffi_d_MinimizeWindow +#endif + +static void _cffi_d_OpenURL(char const * x0) +{ + OpenURL(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_OpenURL(PyObject *self, PyObject *arg0) +{ + char const * x0; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { OpenURL(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_OpenURL _cffi_d_OpenURL +#endif + +static void _cffi_d_PauseAudioStream(AudioStream x0) +{ + PauseAudioStream(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_PauseAudioStream(PyObject *self, PyObject *arg0) +{ + AudioStream x0; + + if (_cffi_to_c((char *)&x0, _cffi_type(398), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { PauseAudioStream(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_PauseAudioStream(AudioStream *x0) +{ + { PauseAudioStream(*x0); } +} +#endif + +static void _cffi_d_PauseMusicStream(Music x0) +{ + PauseMusicStream(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_PauseMusicStream(PyObject *self, PyObject *arg0) +{ + Music x0; + + if (_cffi_to_c((char *)&x0, _cffi_type(385), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { PauseMusicStream(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_PauseMusicStream(Music *x0) +{ + { PauseMusicStream(*x0); } +} +#endif + +static void _cffi_d_PauseSound(Sound x0) +{ + PauseSound(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_PauseSound(PyObject *self, PyObject *arg0) +{ + Sound x0; + + if (_cffi_to_c((char *)&x0, _cffi_type(455), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { PauseSound(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_PauseSound(Sound *x0) +{ + { PauseSound(*x0); } +} +#endif + +static void _cffi_d_PlayAudioStream(AudioStream x0) +{ + PlayAudioStream(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_PlayAudioStream(PyObject *self, PyObject *arg0) +{ + AudioStream x0; + + if (_cffi_to_c((char *)&x0, _cffi_type(398), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { PlayAudioStream(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_PlayAudioStream(AudioStream *x0) +{ + { PlayAudioStream(*x0); } +} +#endif + +static void _cffi_d_PlayMusicStream(Music x0) +{ + PlayMusicStream(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_PlayMusicStream(PyObject *self, PyObject *arg0) +{ + Music x0; + + if (_cffi_to_c((char *)&x0, _cffi_type(385), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { PlayMusicStream(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_PlayMusicStream(Music *x0) +{ + { PlayMusicStream(*x0); } +} +#endif + +static void _cffi_d_PlaySound(Sound x0) +{ + PlaySound(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_PlaySound(PyObject *self, PyObject *arg0) +{ + Sound x0; + + if (_cffi_to_c((char *)&x0, _cffi_type(455), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { PlaySound(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_PlaySound(Sound *x0) +{ + { PlaySound(*x0); } +} +#endif + +static void _cffi_d_PlaySoundMulti(Sound x0) +{ + PlaySoundMulti(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_PlaySoundMulti(PyObject *self, PyObject *arg0) +{ + Sound x0; + + if (_cffi_to_c((char *)&x0, _cffi_type(455), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { PlaySoundMulti(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_PlaySoundMulti(Sound *x0) +{ + { PlaySoundMulti(*x0); } +} +#endif + +static void _cffi_d_RestoreWindow(void) +{ + RestoreWindow(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_RestoreWindow(PyObject *self, PyObject *noarg) +{ + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { RestoreWindow(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_RestoreWindow _cffi_d_RestoreWindow +#endif + +static void _cffi_d_ResumeAudioStream(AudioStream x0) +{ + ResumeAudioStream(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ResumeAudioStream(PyObject *self, PyObject *arg0) +{ + AudioStream x0; + + if (_cffi_to_c((char *)&x0, _cffi_type(398), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { ResumeAudioStream(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_ResumeAudioStream(AudioStream *x0) +{ + { ResumeAudioStream(*x0); } +} +#endif + +static void _cffi_d_ResumeMusicStream(Music x0) +{ + ResumeMusicStream(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ResumeMusicStream(PyObject *self, PyObject *arg0) +{ + Music x0; + + if (_cffi_to_c((char *)&x0, _cffi_type(385), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { ResumeMusicStream(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_ResumeMusicStream(Music *x0) +{ + { ResumeMusicStream(*x0); } +} +#endif + +static void _cffi_d_ResumeSound(Sound x0) +{ + ResumeSound(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ResumeSound(PyObject *self, PyObject *arg0) +{ + Sound x0; + + if (_cffi_to_c((char *)&x0, _cffi_type(455), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { ResumeSound(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_ResumeSound(Sound *x0) +{ + { ResumeSound(*x0); } +} +#endif + +static int _cffi_d_SaveFileData(char const * x0, void * x1, unsigned int x2) +{ + return SaveFileData(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_SaveFileData(PyObject *self, PyObject *args) +{ + char const * x0; + void * x1; + unsigned int x2; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + int result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "SaveFileData", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(45), arg1, (char **)&x1); + if (datasize != 0) { + x1 = ((size_t)datasize) <= 640 ? (void *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(45), arg1, (char **)&x1, + datasize, &large_args_free) < 0) + return NULL; + } + + x2 = _cffi_to_c_int(arg2, unsigned int); + if (x2 == (unsigned int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = SaveFileData(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +# define _cffi_f_SaveFileData _cffi_d_SaveFileData +#endif + +static int _cffi_d_SaveFileText(char const * x0, char * x1) +{ + return SaveFileText(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_SaveFileText(PyObject *self, PyObject *args) +{ + char const * x0; + char * x1; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + int result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "SaveFileText", 2, 2, &arg0, &arg1)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(333), arg1, (char **)&x1); + if (datasize != 0) { + x1 = ((size_t)datasize) <= 640 ? (char *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(333), arg1, (char **)&x1, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = SaveFileText(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +# define _cffi_f_SaveFileText _cffi_d_SaveFileText +#endif + +static int _cffi_d_SaveStorageValue(unsigned int x0, int x1) +{ + return SaveStorageValue(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_SaveStorageValue(PyObject *self, PyObject *args) +{ + unsigned int x0; + int x1; + int result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "SaveStorageValue", 2, 2, &arg0, &arg1)) + return NULL; + + x0 = _cffi_to_c_int(arg0, unsigned int); + if (x0 == (unsigned int)-1 && PyErr_Occurred()) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = SaveStorageValue(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_SaveStorageValue _cffi_d_SaveStorageValue +#endif + +static void _cffi_d_SetAudioStreamBufferSizeDefault(int x0) +{ + SetAudioStreamBufferSizeDefault(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_SetAudioStreamBufferSizeDefault(PyObject *self, PyObject *arg0) +{ + int x0; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { SetAudioStreamBufferSizeDefault(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_SetAudioStreamBufferSizeDefault _cffi_d_SetAudioStreamBufferSizeDefault +#endif + +static void _cffi_d_SetAudioStreamPitch(AudioStream x0, float x1) +{ + SetAudioStreamPitch(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_SetAudioStreamPitch(PyObject *self, PyObject *args) +{ + AudioStream x0; + float x1; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "SetAudioStreamPitch", 2, 2, &arg0, &arg1)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(398), arg0) < 0) + return NULL; + + x1 = (float)_cffi_to_c_float(arg1); + if (x1 == (float)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { SetAudioStreamPitch(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_SetAudioStreamPitch(AudioStream *x0, float x1) +{ + { SetAudioStreamPitch(*x0, x1); } +} +#endif + +static void _cffi_d_SetAudioStreamVolume(AudioStream x0, float x1) +{ + SetAudioStreamVolume(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_SetAudioStreamVolume(PyObject *self, PyObject *args) +{ + AudioStream x0; + float x1; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "SetAudioStreamVolume", 2, 2, &arg0, &arg1)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(398), arg0) < 0) + return NULL; + + x1 = (float)_cffi_to_c_float(arg1); + if (x1 == (float)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { SetAudioStreamVolume(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_SetAudioStreamVolume(AudioStream *x0, float x1) +{ + { SetAudioStreamVolume(*x0, x1); } +} +#endif + +static void _cffi_d_SetCameraAltControl(int x0) +{ + SetCameraAltControl(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_SetCameraAltControl(PyObject *self, PyObject *arg0) +{ + int x0; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { SetCameraAltControl(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_SetCameraAltControl _cffi_d_SetCameraAltControl +#endif + +static void _cffi_d_SetCameraMode(Camera3D x0, int x1) +{ + SetCameraMode(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_SetCameraMode(PyObject *self, PyObject *args) +{ + Camera3D x0; + int x1; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "SetCameraMode", 2, 2, &arg0, &arg1)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(176), arg0) < 0) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { SetCameraMode(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_SetCameraMode(Camera3D *x0, int x1) +{ + { SetCameraMode(*x0, x1); } +} +#endif + +static void _cffi_d_SetCameraMoveControls(int x0, int x1, int x2, int x3, int x4, int x5) +{ + SetCameraMoveControls(x0, x1, x2, x3, x4, x5); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_SetCameraMoveControls(PyObject *self, PyObject *args) +{ + int x0; + int x1; + int x2; + int x3; + int x4; + int x5; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + PyObject *arg5; + + if (!PyArg_UnpackTuple(args, "SetCameraMoveControls", 6, 6, &arg0, &arg1, &arg2, &arg3, &arg4, &arg5)) + return NULL; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + x3 = _cffi_to_c_int(arg3, int); + if (x3 == (int)-1 && PyErr_Occurred()) + return NULL; + + x4 = _cffi_to_c_int(arg4, int); + if (x4 == (int)-1 && PyErr_Occurred()) + return NULL; + + x5 = _cffi_to_c_int(arg5, int); + if (x5 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { SetCameraMoveControls(x0, x1, x2, x3, x4, x5); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_SetCameraMoveControls _cffi_d_SetCameraMoveControls +#endif + +static void _cffi_d_SetCameraPanControl(int x0) +{ + SetCameraPanControl(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_SetCameraPanControl(PyObject *self, PyObject *arg0) +{ + int x0; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { SetCameraPanControl(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_SetCameraPanControl _cffi_d_SetCameraPanControl +#endif + +static void _cffi_d_SetCameraSmoothZoomControl(int x0) +{ + SetCameraSmoothZoomControl(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_SetCameraSmoothZoomControl(PyObject *self, PyObject *arg0) +{ + int x0; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { SetCameraSmoothZoomControl(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_SetCameraSmoothZoomControl _cffi_d_SetCameraSmoothZoomControl +#endif + +static void _cffi_d_SetClipboardText(char const * x0) +{ + SetClipboardText(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_SetClipboardText(PyObject *self, PyObject *arg0) +{ + char const * x0; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { SetClipboardText(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_SetClipboardText _cffi_d_SetClipboardText +#endif + +static void _cffi_d_SetConfigFlags(unsigned int x0) +{ + SetConfigFlags(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_SetConfigFlags(PyObject *self, PyObject *arg0) +{ + unsigned int x0; + + x0 = _cffi_to_c_int(arg0, unsigned int); + if (x0 == (unsigned int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { SetConfigFlags(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_SetConfigFlags _cffi_d_SetConfigFlags +#endif + +static void _cffi_d_SetExitKey(int x0) +{ + SetExitKey(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_SetExitKey(PyObject *self, PyObject *arg0) +{ + int x0; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { SetExitKey(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_SetExitKey _cffi_d_SetExitKey +#endif + +static int _cffi_d_SetGamepadMappings(char const * x0) +{ + return SetGamepadMappings(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_SetGamepadMappings(PyObject *self, PyObject *arg0) +{ + char const * x0; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + int result; + PyObject *pyresult; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = SetGamepadMappings(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +# define _cffi_f_SetGamepadMappings _cffi_d_SetGamepadMappings +#endif + +static void _cffi_d_SetGesturesEnabled(unsigned int x0) +{ + SetGesturesEnabled(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_SetGesturesEnabled(PyObject *self, PyObject *arg0) +{ + unsigned int x0; + + x0 = _cffi_to_c_int(arg0, unsigned int); + if (x0 == (unsigned int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { SetGesturesEnabled(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_SetGesturesEnabled _cffi_d_SetGesturesEnabled +#endif + +static void _cffi_d_SetMasterVolume(float x0) +{ + SetMasterVolume(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_SetMasterVolume(PyObject *self, PyObject *arg0) +{ + float x0; + + x0 = (float)_cffi_to_c_float(arg0); + if (x0 == (float)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { SetMasterVolume(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_SetMasterVolume _cffi_d_SetMasterVolume +#endif + +static void _cffi_d_SetMaterialTexture(Material * x0, int x1, Texture x2) +{ + SetMaterialTexture(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_SetMaterialTexture(PyObject *self, PyObject *args) +{ + Material * x0; + int x1; + Texture x2; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "SetMaterialTexture", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(793), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Material *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(793), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(95), arg2) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { SetMaterialTexture(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_SetMaterialTexture(Material * x0, int x1, Texture *x2) +{ + { SetMaterialTexture(x0, x1, *x2); } +} +#endif + +static void _cffi_d_SetModelMeshMaterial(Model * x0, int x1, int x2) +{ + SetModelMeshMaterial(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_SetModelMeshMaterial(PyObject *self, PyObject *args) +{ + Model * x0; + int x1; + int x2; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "SetModelMeshMaterial", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(829), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Model *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(829), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { SetModelMeshMaterial(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_SetModelMeshMaterial _cffi_d_SetModelMeshMaterial +#endif + +static void _cffi_d_SetMouseCursor(int x0) +{ + SetMouseCursor(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_SetMouseCursor(PyObject *self, PyObject *arg0) +{ + int x0; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { SetMouseCursor(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_SetMouseCursor _cffi_d_SetMouseCursor +#endif + +static void _cffi_d_SetMouseOffset(int x0, int x1) +{ + SetMouseOffset(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_SetMouseOffset(PyObject *self, PyObject *args) +{ + int x0; + int x1; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "SetMouseOffset", 2, 2, &arg0, &arg1)) + return NULL; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { SetMouseOffset(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_SetMouseOffset _cffi_d_SetMouseOffset +#endif + +static void _cffi_d_SetMousePosition(int x0, int x1) +{ + SetMousePosition(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_SetMousePosition(PyObject *self, PyObject *args) +{ + int x0; + int x1; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "SetMousePosition", 2, 2, &arg0, &arg1)) + return NULL; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { SetMousePosition(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_SetMousePosition _cffi_d_SetMousePosition +#endif + +static void _cffi_d_SetMouseScale(float x0, float x1) +{ + SetMouseScale(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_SetMouseScale(PyObject *self, PyObject *args) +{ + float x0; + float x1; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "SetMouseScale", 2, 2, &arg0, &arg1)) + return NULL; + + x0 = (float)_cffi_to_c_float(arg0); + if (x0 == (float)-1 && PyErr_Occurred()) + return NULL; + + x1 = (float)_cffi_to_c_float(arg1); + if (x1 == (float)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { SetMouseScale(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_SetMouseScale _cffi_d_SetMouseScale +#endif + +static void _cffi_d_SetMusicPitch(Music x0, float x1) +{ + SetMusicPitch(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_SetMusicPitch(PyObject *self, PyObject *args) +{ + Music x0; + float x1; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "SetMusicPitch", 2, 2, &arg0, &arg1)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(385), arg0) < 0) + return NULL; + + x1 = (float)_cffi_to_c_float(arg1); + if (x1 == (float)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { SetMusicPitch(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_SetMusicPitch(Music *x0, float x1) +{ + { SetMusicPitch(*x0, x1); } +} +#endif + +static void _cffi_d_SetMusicVolume(Music x0, float x1) +{ + SetMusicVolume(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_SetMusicVolume(PyObject *self, PyObject *args) +{ + Music x0; + float x1; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "SetMusicVolume", 2, 2, &arg0, &arg1)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(385), arg0) < 0) + return NULL; + + x1 = (float)_cffi_to_c_float(arg1); + if (x1 == (float)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { SetMusicVolume(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_SetMusicVolume(Music *x0, float x1) +{ + { SetMusicVolume(*x0, x1); } +} +#endif + +static void _cffi_d_SetPixelColor(void * x0, Color x1, int x2) +{ + SetPixelColor(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_SetPixelColor(PyObject *self, PyObject *args) +{ + void * x0; + Color x1; + int x2; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "SetPixelColor", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(45), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (void *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(45), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + if (_cffi_to_c((char *)&x1, _cffi_type(25), arg1) < 0) + return NULL; + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { SetPixelColor(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_SetPixelColor(void * x0, Color *x1, int x2) +{ + { SetPixelColor(x0, *x1, x2); } +} +#endif + +static void _cffi_d_SetShaderValue(Shader x0, int x1, void const * x2, int x3) +{ + SetShaderValue(x0, x1, x2, x3); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_SetShaderValue(PyObject *self, PyObject *args) +{ + Shader x0; + int x1; + void const * x2; + int x3; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + + if (!PyArg_UnpackTuple(args, "SetShaderValue", 4, 4, &arg0, &arg1, &arg2, &arg3)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(451), arg0) < 0) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(586), arg2, (char **)&x2); + if (datasize != 0) { + x2 = ((size_t)datasize) <= 640 ? (void const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(586), arg2, (char **)&x2, + datasize, &large_args_free) < 0) + return NULL; + } + + x3 = _cffi_to_c_int(arg3, int); + if (x3 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { SetShaderValue(x0, x1, x2, x3); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_SetShaderValue(Shader *x0, int x1, void const * x2, int x3) +{ + { SetShaderValue(*x0, x1, x2, x3); } +} +#endif + +static void _cffi_d_SetShaderValueMatrix(Shader x0, int x1, Matrix x2) +{ + SetShaderValueMatrix(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_SetShaderValueMatrix(PyObject *self, PyObject *args) +{ + Shader x0; + int x1; + Matrix x2; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "SetShaderValueMatrix", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(451), arg0) < 0) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(232), arg2) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { SetShaderValueMatrix(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_SetShaderValueMatrix(Shader *x0, int x1, Matrix *x2) +{ + { SetShaderValueMatrix(*x0, x1, *x2); } +} +#endif + +static void _cffi_d_SetShaderValueTexture(Shader x0, int x1, Texture x2) +{ + SetShaderValueTexture(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_SetShaderValueTexture(PyObject *self, PyObject *args) +{ + Shader x0; + int x1; + Texture x2; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "SetShaderValueTexture", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(451), arg0) < 0) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + if (_cffi_to_c((char *)&x2, _cffi_type(95), arg2) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { SetShaderValueTexture(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_SetShaderValueTexture(Shader *x0, int x1, Texture *x2) +{ + { SetShaderValueTexture(*x0, x1, *x2); } +} +#endif + +static void _cffi_d_SetShaderValueV(Shader x0, int x1, void const * x2, int x3, int x4) +{ + SetShaderValueV(x0, x1, x2, x3, x4); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_SetShaderValueV(PyObject *self, PyObject *args) +{ + Shader x0; + int x1; + void const * x2; + int x3; + int x4; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + + if (!PyArg_UnpackTuple(args, "SetShaderValueV", 5, 5, &arg0, &arg1, &arg2, &arg3, &arg4)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(451), arg0) < 0) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(586), arg2, (char **)&x2); + if (datasize != 0) { + x2 = ((size_t)datasize) <= 640 ? (void const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(586), arg2, (char **)&x2, + datasize, &large_args_free) < 0) + return NULL; + } + + x3 = _cffi_to_c_int(arg3, int); + if (x3 == (int)-1 && PyErr_Occurred()) + return NULL; + + x4 = _cffi_to_c_int(arg4, int); + if (x4 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { SetShaderValueV(x0, x1, x2, x3, x4); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_SetShaderValueV(Shader *x0, int x1, void const * x2, int x3, int x4) +{ + { SetShaderValueV(*x0, x1, x2, x3, x4); } +} +#endif + +static void _cffi_d_SetShapesTexture(Texture x0, Rectangle x1) +{ + SetShapesTexture(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_SetShapesTexture(PyObject *self, PyObject *args) +{ + Texture x0; + Rectangle x1; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "SetShapesTexture", 2, 2, &arg0, &arg1)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(95), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(92), arg1) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { SetShapesTexture(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_SetShapesTexture(Texture *x0, Rectangle *x1) +{ + { SetShapesTexture(*x0, *x1); } +} +#endif + +static void _cffi_d_SetSoundPitch(Sound x0, float x1) +{ + SetSoundPitch(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_SetSoundPitch(PyObject *self, PyObject *args) +{ + Sound x0; + float x1; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "SetSoundPitch", 2, 2, &arg0, &arg1)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(455), arg0) < 0) + return NULL; + + x1 = (float)_cffi_to_c_float(arg1); + if (x1 == (float)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { SetSoundPitch(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_SetSoundPitch(Sound *x0, float x1) +{ + { SetSoundPitch(*x0, x1); } +} +#endif + +static void _cffi_d_SetSoundVolume(Sound x0, float x1) +{ + SetSoundVolume(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_SetSoundVolume(PyObject *self, PyObject *args) +{ + Sound x0; + float x1; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "SetSoundVolume", 2, 2, &arg0, &arg1)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(455), arg0) < 0) + return NULL; + + x1 = (float)_cffi_to_c_float(arg1); + if (x1 == (float)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { SetSoundVolume(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_SetSoundVolume(Sound *x0, float x1) +{ + { SetSoundVolume(*x0, x1); } +} +#endif + +static void _cffi_d_SetTargetFPS(int x0) +{ + SetTargetFPS(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_SetTargetFPS(PyObject *self, PyObject *arg0) +{ + int x0; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { SetTargetFPS(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_SetTargetFPS _cffi_d_SetTargetFPS +#endif + +static void _cffi_d_SetTextureFilter(Texture x0, int x1) +{ + SetTextureFilter(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_SetTextureFilter(PyObject *self, PyObject *args) +{ + Texture x0; + int x1; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "SetTextureFilter", 2, 2, &arg0, &arg1)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(95), arg0) < 0) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { SetTextureFilter(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_SetTextureFilter(Texture *x0, int x1) +{ + { SetTextureFilter(*x0, x1); } +} +#endif + +static void _cffi_d_SetTextureWrap(Texture x0, int x1) +{ + SetTextureWrap(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_SetTextureWrap(PyObject *self, PyObject *args) +{ + Texture x0; + int x1; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "SetTextureWrap", 2, 2, &arg0, &arg1)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(95), arg0) < 0) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { SetTextureWrap(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_SetTextureWrap(Texture *x0, int x1) +{ + { SetTextureWrap(*x0, x1); } +} +#endif + +static void _cffi_d_SetTraceLogLevel(int x0) +{ + SetTraceLogLevel(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_SetTraceLogLevel(PyObject *self, PyObject *arg0) +{ + int x0; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { SetTraceLogLevel(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_SetTraceLogLevel _cffi_d_SetTraceLogLevel +#endif + +static void _cffi_d_SetWindowIcon(Image x0) +{ + SetWindowIcon(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_SetWindowIcon(PyObject *self, PyObject *arg0) +{ + Image x0; + + if (_cffi_to_c((char *)&x0, _cffi_type(17), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { SetWindowIcon(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_SetWindowIcon(Image *x0) +{ + { SetWindowIcon(*x0); } +} +#endif + +static void _cffi_d_SetWindowMinSize(int x0, int x1) +{ + SetWindowMinSize(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_SetWindowMinSize(PyObject *self, PyObject *args) +{ + int x0; + int x1; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "SetWindowMinSize", 2, 2, &arg0, &arg1)) + return NULL; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { SetWindowMinSize(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_SetWindowMinSize _cffi_d_SetWindowMinSize +#endif + +static void _cffi_d_SetWindowMonitor(int x0) +{ + SetWindowMonitor(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_SetWindowMonitor(PyObject *self, PyObject *arg0) +{ + int x0; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { SetWindowMonitor(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_SetWindowMonitor _cffi_d_SetWindowMonitor +#endif + +static void _cffi_d_SetWindowPosition(int x0, int x1) +{ + SetWindowPosition(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_SetWindowPosition(PyObject *self, PyObject *args) +{ + int x0; + int x1; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "SetWindowPosition", 2, 2, &arg0, &arg1)) + return NULL; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { SetWindowPosition(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_SetWindowPosition _cffi_d_SetWindowPosition +#endif + +static void _cffi_d_SetWindowSize(int x0, int x1) +{ + SetWindowSize(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_SetWindowSize(PyObject *self, PyObject *args) +{ + int x0; + int x1; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "SetWindowSize", 2, 2, &arg0, &arg1)) + return NULL; + + x0 = _cffi_to_c_int(arg0, int); + if (x0 == (int)-1 && PyErr_Occurred()) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { SetWindowSize(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_SetWindowSize _cffi_d_SetWindowSize +#endif + +static void _cffi_d_SetWindowState(unsigned int x0) +{ + SetWindowState(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_SetWindowState(PyObject *self, PyObject *arg0) +{ + unsigned int x0; + + x0 = _cffi_to_c_int(arg0, unsigned int); + if (x0 == (unsigned int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { SetWindowState(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_SetWindowState _cffi_d_SetWindowState +#endif + +static void _cffi_d_SetWindowTitle(char const * x0) +{ + SetWindowTitle(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_SetWindowTitle(PyObject *self, PyObject *arg0) +{ + char const * x0; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { SetWindowTitle(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_SetWindowTitle _cffi_d_SetWindowTitle +#endif + +static void _cffi_d_ShowCursor(void) +{ + ShowCursor(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ShowCursor(PyObject *self, PyObject *noarg) +{ + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { ShowCursor(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_ShowCursor _cffi_d_ShowCursor +#endif + +static void _cffi_d_StopAudioStream(AudioStream x0) +{ + StopAudioStream(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_StopAudioStream(PyObject *self, PyObject *arg0) +{ + AudioStream x0; + + if (_cffi_to_c((char *)&x0, _cffi_type(398), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { StopAudioStream(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_StopAudioStream(AudioStream *x0) +{ + { StopAudioStream(*x0); } +} +#endif + +static void _cffi_d_StopMusicStream(Music x0) +{ + StopMusicStream(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_StopMusicStream(PyObject *self, PyObject *arg0) +{ + Music x0; + + if (_cffi_to_c((char *)&x0, _cffi_type(385), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { StopMusicStream(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_StopMusicStream(Music *x0) +{ + { StopMusicStream(*x0); } +} +#endif + +static void _cffi_d_StopSound(Sound x0) +{ + StopSound(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_StopSound(PyObject *self, PyObject *arg0) +{ + Sound x0; + + if (_cffi_to_c((char *)&x0, _cffi_type(455), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { StopSound(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_StopSound(Sound *x0) +{ + { StopSound(*x0); } +} +#endif + +static void _cffi_d_StopSoundMulti(void) +{ + StopSoundMulti(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_StopSoundMulti(PyObject *self, PyObject *noarg) +{ + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { StopSoundMulti(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_StopSoundMulti _cffi_d_StopSoundMulti +#endif + +static void _cffi_d_TakeScreenshot(char const * x0) +{ + TakeScreenshot(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_TakeScreenshot(PyObject *self, PyObject *arg0) +{ + char const * x0; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { TakeScreenshot(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_TakeScreenshot _cffi_d_TakeScreenshot +#endif + +static void _cffi_d_TextAppend(char * x0, char const * x1, int * x2) +{ + TextAppend(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_TextAppend(PyObject *self, PyObject *args) +{ + char * x0; + char const * x1; + int * x2; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "TextAppend", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(333), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(333), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg1, (char **)&x1); + if (datasize != 0) { + x1 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg1, (char **)&x1, + datasize, &large_args_free) < 0) + return NULL; + } + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(12), arg2, (char **)&x2); + if (datasize != 0) { + x2 = ((size_t)datasize) <= 640 ? (int *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(12), arg2, (char **)&x2, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { TextAppend(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_TextAppend _cffi_d_TextAppend +#endif + +static int _cffi_d_TextCopy(char * x0, char const * x1) +{ + return TextCopy(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_TextCopy(PyObject *self, PyObject *args) +{ + char * x0; + char const * x1; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + int result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "TextCopy", 2, 2, &arg0, &arg1)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(333), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(333), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg1, (char **)&x1); + if (datasize != 0) { + x1 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg1, (char **)&x1, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = TextCopy(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +# define _cffi_f_TextCopy _cffi_d_TextCopy +#endif + +static int _cffi_d_TextFindIndex(char const * x0, char const * x1) +{ + return TextFindIndex(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_TextFindIndex(PyObject *self, PyObject *args) +{ + char const * x0; + char const * x1; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + int result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "TextFindIndex", 2, 2, &arg0, &arg1)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg1, (char **)&x1); + if (datasize != 0) { + x1 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg1, (char **)&x1, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = TextFindIndex(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +# define _cffi_f_TextFindIndex _cffi_d_TextFindIndex +#endif + +static void _cffi_const_TextFormat(char *o) +{ + *(char const *(* *)(char const *, ...))o = TextFormat; +} + +static char * _cffi_d_TextInsert(char const * x0, char const * x1, int x2) +{ + return TextInsert(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_TextInsert(PyObject *self, PyObject *args) +{ + char const * x0; + char const * x1; + int x2; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + char * result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "TextInsert", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg1, (char **)&x1); + if (datasize != 0) { + x1 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg1, (char **)&x1, + datasize, &large_args_free) < 0) + return NULL; + } + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = TextInsert(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_pointer((char *)result, _cffi_type(333)); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +# define _cffi_f_TextInsert _cffi_d_TextInsert +#endif + +static int _cffi_d_TextIsEqual(char const * x0, char const * x1) +{ + return TextIsEqual(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_TextIsEqual(PyObject *self, PyObject *args) +{ + char const * x0; + char const * x1; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + int result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "TextIsEqual", 2, 2, &arg0, &arg1)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg1, (char **)&x1); + if (datasize != 0) { + x1 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg1, (char **)&x1, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = TextIsEqual(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +# define _cffi_f_TextIsEqual _cffi_d_TextIsEqual +#endif + +static char const * _cffi_d_TextJoin(char const * * x0, int x1, char const * x2) +{ + return TextJoin(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_TextJoin(PyObject *self, PyObject *args) +{ + char const * * x0; + int x1; + char const * x2; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + char const * result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "TextJoin", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(355), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const * *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(355), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg2, (char **)&x2); + if (datasize != 0) { + x2 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg2, (char **)&x2, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = TextJoin(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_pointer((char *)result, _cffi_type(54)); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +# define _cffi_f_TextJoin _cffi_d_TextJoin +#endif + +static unsigned int _cffi_d_TextLength(char const * x0) +{ + return TextLength(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_TextLength(PyObject *self, PyObject *arg0) +{ + char const * x0; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + unsigned int result; + PyObject *pyresult; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = TextLength(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, unsigned int); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +# define _cffi_f_TextLength _cffi_d_TextLength +#endif + +static char * _cffi_d_TextReplace(char * x0, char const * x1, char const * x2) +{ + return TextReplace(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_TextReplace(PyObject *self, PyObject *args) +{ + char * x0; + char const * x1; + char const * x2; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + char * result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "TextReplace", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(333), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(333), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg1, (char **)&x1); + if (datasize != 0) { + x1 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg1, (char **)&x1, + datasize, &large_args_free) < 0) + return NULL; + } + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg2, (char **)&x2); + if (datasize != 0) { + x2 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg2, (char **)&x2, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = TextReplace(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_pointer((char *)result, _cffi_type(333)); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +# define _cffi_f_TextReplace _cffi_d_TextReplace +#endif + +static char const * * _cffi_d_TextSplit(char const * x0, char x1, int * x2) +{ + return TextSplit(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_TextSplit(PyObject *self, PyObject *args) +{ + char const * x0; + char x1; + int * x2; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + char const * * result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "TextSplit", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + x1 = (char)_cffi_to_c_char(arg1); + if (x1 == (char)-1 && PyErr_Occurred()) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(12), arg2, (char **)&x2); + if (datasize != 0) { + x2 = ((size_t)datasize) <= 640 ? (int *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(12), arg2, (char **)&x2, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = TextSplit(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_pointer((char *)result, _cffi_type(355)); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +# define _cffi_f_TextSplit _cffi_d_TextSplit +#endif + +static char const * _cffi_d_TextSubtext(char const * x0, int x1, int x2) +{ + return TextSubtext(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_TextSubtext(PyObject *self, PyObject *args) +{ + char const * x0; + int x1; + int x2; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + char const * result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "TextSubtext", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = TextSubtext(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_pointer((char *)result, _cffi_type(54)); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +# define _cffi_f_TextSubtext _cffi_d_TextSubtext +#endif + +static int _cffi_d_TextToInteger(char const * x0) +{ + return TextToInteger(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_TextToInteger(PyObject *self, PyObject *arg0) +{ + char const * x0; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + int result; + PyObject *pyresult; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = TextToInteger(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_int(result, int); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +# define _cffi_f_TextToInteger _cffi_d_TextToInteger +#endif + +static char const * _cffi_d_TextToLower(char const * x0) +{ + return TextToLower(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_TextToLower(PyObject *self, PyObject *arg0) +{ + char const * x0; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + char const * result; + PyObject *pyresult; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = TextToLower(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_pointer((char *)result, _cffi_type(54)); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +# define _cffi_f_TextToLower _cffi_d_TextToLower +#endif + +static char const * _cffi_d_TextToPascal(char const * x0) +{ + return TextToPascal(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_TextToPascal(PyObject *self, PyObject *arg0) +{ + char const * x0; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + char const * result; + PyObject *pyresult; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = TextToPascal(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_pointer((char *)result, _cffi_type(54)); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +# define _cffi_f_TextToPascal _cffi_d_TextToPascal +#endif + +static char const * _cffi_d_TextToUpper(char const * x0) +{ + return TextToUpper(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_TextToUpper(PyObject *self, PyObject *arg0) +{ + char const * x0; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + char const * result; + PyObject *pyresult; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(54), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (char const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(54), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = TextToUpper(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_pointer((char *)result, _cffi_type(54)); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +# define _cffi_f_TextToUpper _cffi_d_TextToUpper +#endif + +static char * _cffi_d_TextToUtf8(int * x0, int x1) +{ + return TextToUtf8(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_TextToUtf8(PyObject *self, PyObject *args) +{ + int * x0; + int x1; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + char * result; + PyObject *pyresult; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "TextToUtf8", 2, 2, &arg0, &arg1)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(12), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (int *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(12), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = TextToUtf8(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_pointer((char *)result, _cffi_type(333)); + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + return pyresult; +} +#else +# define _cffi_f_TextToUtf8 _cffi_d_TextToUtf8 +#endif + +static void _cffi_d_ToggleFullscreen(void) +{ + ToggleFullscreen(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_ToggleFullscreen(PyObject *self, PyObject *noarg) +{ + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { ToggleFullscreen(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_ToggleFullscreen _cffi_d_ToggleFullscreen +#endif + +static void _cffi_const_TraceLog(char *o) +{ + *(void(* *)(int, char const *, ...))o = TraceLog; +} + +static void _cffi_d_UnloadFileData(unsigned char * x0) +{ + UnloadFileData(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_UnloadFileData(PyObject *self, PyObject *arg0) +{ + unsigned char * x0; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(222), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (unsigned char *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(222), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { UnloadFileData(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_UnloadFileData _cffi_d_UnloadFileData +#endif + +static void _cffi_d_UnloadFileText(unsigned char * x0) +{ + UnloadFileText(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_UnloadFileText(PyObject *self, PyObject *arg0) +{ + unsigned char * x0; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(222), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (unsigned char *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(222), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { UnloadFileText(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_UnloadFileText _cffi_d_UnloadFileText +#endif + +static void _cffi_d_UnloadFont(Font x0) +{ + UnloadFont(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_UnloadFont(PyObject *self, PyObject *arg0) +{ + Font x0; + + if (_cffi_to_c((char *)&x0, _cffi_type(81), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { UnloadFont(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_UnloadFont(Font *x0) +{ + { UnloadFont(*x0); } +} +#endif + +static void _cffi_d_UnloadFontData(CharInfo * x0, int x1) +{ + UnloadFontData(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_UnloadFontData(PyObject *self, PyObject *args) +{ + CharInfo * x0; + int x1; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "UnloadFontData", 2, 2, &arg0, &arg1)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(622), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (CharInfo *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(622), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { UnloadFontData(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_UnloadFontData _cffi_d_UnloadFontData +#endif + +static void _cffi_d_UnloadImage(Image x0) +{ + UnloadImage(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_UnloadImage(PyObject *self, PyObject *arg0) +{ + Image x0; + + if (_cffi_to_c((char *)&x0, _cffi_type(17), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { UnloadImage(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_UnloadImage(Image *x0) +{ + { UnloadImage(*x0); } +} +#endif + +static void _cffi_d_UnloadImageColors(Color * x0) +{ + UnloadImageColors(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_UnloadImageColors(PyObject *self, PyObject *arg0) +{ + Color * x0; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(626), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Color *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(626), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { UnloadImageColors(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_UnloadImageColors _cffi_d_UnloadImageColors +#endif + +static void _cffi_d_UnloadImagePalette(Color * x0) +{ + UnloadImagePalette(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_UnloadImagePalette(PyObject *self, PyObject *arg0) +{ + Color * x0; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(626), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Color *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(626), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { UnloadImagePalette(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_UnloadImagePalette _cffi_d_UnloadImagePalette +#endif + +static void _cffi_d_UnloadMaterial(Material x0) +{ + UnloadMaterial(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_UnloadMaterial(PyObject *self, PyObject *arg0) +{ + Material x0; + + if (_cffi_to_c((char *)&x0, _cffi_type(798), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { UnloadMaterial(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_UnloadMaterial(Material *x0) +{ + { UnloadMaterial(*x0); } +} +#endif + +static void _cffi_d_UnloadMesh(Mesh x0) +{ + UnloadMesh(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_UnloadMesh(PyObject *self, PyObject *arg0) +{ + Mesh x0; + + if (_cffi_to_c((char *)&x0, _cffi_type(6), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { UnloadMesh(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_UnloadMesh(Mesh *x0) +{ + { UnloadMesh(*x0); } +} +#endif + +static void _cffi_d_UnloadModel(Model x0) +{ + UnloadModel(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_UnloadModel(PyObject *self, PyObject *arg0) +{ + Model x0; + + if (_cffi_to_c((char *)&x0, _cffi_type(236), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { UnloadModel(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_UnloadModel(Model *x0) +{ + { UnloadModel(*x0); } +} +#endif + +static void _cffi_d_UnloadModelAnimation(ModelAnimation x0) +{ + UnloadModelAnimation(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_UnloadModelAnimation(PyObject *self, PyObject *arg0) +{ + ModelAnimation x0; + + if (_cffi_to_c((char *)&x0, _cffi_type(426), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { UnloadModelAnimation(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_UnloadModelAnimation(ModelAnimation *x0) +{ + { UnloadModelAnimation(*x0); } +} +#endif + +static void _cffi_d_UnloadModelAnimations(ModelAnimation * x0, unsigned int x1) +{ + UnloadModelAnimations(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_UnloadModelAnimations(PyObject *self, PyObject *args) +{ + ModelAnimation * x0; + unsigned int x1; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "UnloadModelAnimations", 2, 2, &arg0, &arg1)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(856), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (ModelAnimation *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(856), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + x1 = _cffi_to_c_int(arg1, unsigned int); + if (x1 == (unsigned int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { UnloadModelAnimations(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_UnloadModelAnimations _cffi_d_UnloadModelAnimations +#endif + +static void _cffi_d_UnloadModelKeepMeshes(Model x0) +{ + UnloadModelKeepMeshes(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_UnloadModelKeepMeshes(PyObject *self, PyObject *arg0) +{ + Model x0; + + if (_cffi_to_c((char *)&x0, _cffi_type(236), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { UnloadModelKeepMeshes(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_UnloadModelKeepMeshes(Model *x0) +{ + { UnloadModelKeepMeshes(*x0); } +} +#endif + +static void _cffi_d_UnloadMusicStream(Music x0) +{ + UnloadMusicStream(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_UnloadMusicStream(PyObject *self, PyObject *arg0) +{ + Music x0; + + if (_cffi_to_c((char *)&x0, _cffi_type(385), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { UnloadMusicStream(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_UnloadMusicStream(Music *x0) +{ + { UnloadMusicStream(*x0); } +} +#endif + +static void _cffi_d_UnloadRenderTexture(RenderTexture x0) +{ + UnloadRenderTexture(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_UnloadRenderTexture(PyObject *self, PyObject *arg0) +{ + RenderTexture x0; + + if (_cffi_to_c((char *)&x0, _cffi_type(909), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { UnloadRenderTexture(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_UnloadRenderTexture(RenderTexture *x0) +{ + { UnloadRenderTexture(*x0); } +} +#endif + +static void _cffi_d_UnloadShader(Shader x0) +{ + UnloadShader(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_UnloadShader(PyObject *self, PyObject *arg0) +{ + Shader x0; + + if (_cffi_to_c((char *)&x0, _cffi_type(451), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { UnloadShader(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_UnloadShader(Shader *x0) +{ + { UnloadShader(*x0); } +} +#endif + +static void _cffi_d_UnloadSound(Sound x0) +{ + UnloadSound(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_UnloadSound(PyObject *self, PyObject *arg0) +{ + Sound x0; + + if (_cffi_to_c((char *)&x0, _cffi_type(455), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { UnloadSound(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_UnloadSound(Sound *x0) +{ + { UnloadSound(*x0); } +} +#endif + +static void _cffi_d_UnloadTexture(Texture x0) +{ + UnloadTexture(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_UnloadTexture(PyObject *self, PyObject *arg0) +{ + Texture x0; + + if (_cffi_to_c((char *)&x0, _cffi_type(95), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { UnloadTexture(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_UnloadTexture(Texture *x0) +{ + { UnloadTexture(*x0); } +} +#endif + +static void _cffi_d_UnloadVrStereoConfig(VrStereoConfig x0) +{ + UnloadVrStereoConfig(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_UnloadVrStereoConfig(PyObject *self, PyObject *arg0) +{ + VrStereoConfig x0; + + if (_cffi_to_c((char *)&x0, _cffi_type(1166), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { UnloadVrStereoConfig(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_UnloadVrStereoConfig(VrStereoConfig *x0) +{ + { UnloadVrStereoConfig(*x0); } +} +#endif + +static void _cffi_d_UnloadWave(Wave x0) +{ + UnloadWave(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_UnloadWave(PyObject *self, PyObject *arg0) +{ + Wave x0; + + if (_cffi_to_c((char *)&x0, _cffi_type(265), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { UnloadWave(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_UnloadWave(Wave *x0) +{ + { UnloadWave(*x0); } +} +#endif + +static void _cffi_d_UnloadWaveSamples(float * x0) +{ + UnloadWaveSamples(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_UnloadWaveSamples(PyObject *self, PyObject *arg0) +{ + float * x0; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(1198), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (float *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(1198), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { UnloadWaveSamples(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_UnloadWaveSamples _cffi_d_UnloadWaveSamples +#endif + +static void _cffi_d_UpdateAudioStream(AudioStream x0, void const * x1, int x2) +{ + UpdateAudioStream(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_UpdateAudioStream(PyObject *self, PyObject *args) +{ + AudioStream x0; + void const * x1; + int x2; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "UpdateAudioStream", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(398), arg0) < 0) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(586), arg1, (char **)&x1); + if (datasize != 0) { + x1 = ((size_t)datasize) <= 640 ? (void const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(586), arg1, (char **)&x1, + datasize, &large_args_free) < 0) + return NULL; + } + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { UpdateAudioStream(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_UpdateAudioStream(AudioStream *x0, void const * x1, int x2) +{ + { UpdateAudioStream(*x0, x1, x2); } +} +#endif + +static void _cffi_d_UpdateCamera(Camera3D * x0) +{ + UpdateCamera(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_UpdateCamera(PyObject *self, PyObject *arg0) +{ + Camera3D * x0; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(597), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Camera3D *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(597), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { UpdateCamera(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_UpdateCamera _cffi_d_UpdateCamera +#endif + +static void _cffi_d_UpdateMeshBuffer(Mesh x0, int x1, void * x2, int x3, int x4) +{ + UpdateMeshBuffer(x0, x1, x2, x3, x4); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_UpdateMeshBuffer(PyObject *self, PyObject *args) +{ + Mesh x0; + int x1; + void * x2; + int x3; + int x4; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + PyObject *arg4; + + if (!PyArg_UnpackTuple(args, "UpdateMeshBuffer", 5, 5, &arg0, &arg1, &arg2, &arg3, &arg4)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(6), arg0) < 0) + return NULL; + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(45), arg2, (char **)&x2); + if (datasize != 0) { + x2 = ((size_t)datasize) <= 640 ? (void *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(45), arg2, (char **)&x2, + datasize, &large_args_free) < 0) + return NULL; + } + + x3 = _cffi_to_c_int(arg3, int); + if (x3 == (int)-1 && PyErr_Occurred()) + return NULL; + + x4 = _cffi_to_c_int(arg4, int); + if (x4 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { UpdateMeshBuffer(x0, x1, x2, x3, x4); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_UpdateMeshBuffer(Mesh *x0, int x1, void * x2, int x3, int x4) +{ + { UpdateMeshBuffer(*x0, x1, x2, x3, x4); } +} +#endif + +static void _cffi_d_UpdateModelAnimation(Model x0, ModelAnimation x1, int x2) +{ + UpdateModelAnimation(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_UpdateModelAnimation(PyObject *self, PyObject *args) +{ + Model x0; + ModelAnimation x1; + int x2; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "UpdateModelAnimation", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(236), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(426), arg1) < 0) + return NULL; + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { UpdateModelAnimation(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_UpdateModelAnimation(Model *x0, ModelAnimation *x1, int x2) +{ + { UpdateModelAnimation(*x0, *x1, x2); } +} +#endif + +static void _cffi_d_UpdateMusicStream(Music x0) +{ + UpdateMusicStream(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_UpdateMusicStream(PyObject *self, PyObject *arg0) +{ + Music x0; + + if (_cffi_to_c((char *)&x0, _cffi_type(385), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { UpdateMusicStream(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_UpdateMusicStream(Music *x0) +{ + { UpdateMusicStream(*x0); } +} +#endif + +static void _cffi_d_UpdateSound(Sound x0, void const * x1, int x2) +{ + UpdateSound(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_UpdateSound(PyObject *self, PyObject *args) +{ + Sound x0; + void const * x1; + int x2; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "UpdateSound", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(455), arg0) < 0) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(586), arg1, (char **)&x1); + if (datasize != 0) { + x1 = ((size_t)datasize) <= 640 ? (void const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(586), arg1, (char **)&x1, + datasize, &large_args_free) < 0) + return NULL; + } + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { UpdateSound(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_UpdateSound(Sound *x0, void const * x1, int x2) +{ + { UpdateSound(*x0, x1, x2); } +} +#endif + +static void _cffi_d_UpdateTexture(Texture x0, void const * x1) +{ + UpdateTexture(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_UpdateTexture(PyObject *self, PyObject *args) +{ + Texture x0; + void const * x1; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "UpdateTexture", 2, 2, &arg0, &arg1)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(95), arg0) < 0) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(586), arg1, (char **)&x1); + if (datasize != 0) { + x1 = ((size_t)datasize) <= 640 ? (void const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(586), arg1, (char **)&x1, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { UpdateTexture(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_UpdateTexture(Texture *x0, void const * x1) +{ + { UpdateTexture(*x0, x1); } +} +#endif + +static void _cffi_d_UpdateTextureRec(Texture x0, Rectangle x1, void const * x2) +{ + UpdateTextureRec(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_UpdateTextureRec(PyObject *self, PyObject *args) +{ + Texture x0; + Rectangle x1; + void const * x2; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "UpdateTextureRec", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + if (_cffi_to_c((char *)&x0, _cffi_type(95), arg0) < 0) + return NULL; + + if (_cffi_to_c((char *)&x1, _cffi_type(92), arg1) < 0) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(586), arg2, (char **)&x2); + if (datasize != 0) { + x2 = ((size_t)datasize) <= 640 ? (void const *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(586), arg2, (char **)&x2, + datasize, &large_args_free) < 0) + return NULL; + } + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { UpdateTextureRec(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +static void _cffi_f_UpdateTextureRec(Texture *x0, Rectangle *x1, void const * x2) +{ + { UpdateTextureRec(*x0, *x1, x2); } +} +#endif + +static void _cffi_d_UploadMesh(Mesh * x0, int x1) +{ + UploadMesh(x0, x1); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_UploadMesh(PyObject *self, PyObject *args) +{ + Mesh * x0; + int x1; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + + if (!PyArg_UnpackTuple(args, "UploadMesh", 2, 2, &arg0, &arg1)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(801), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Mesh *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(801), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { UploadMesh(x0, x1); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_UploadMesh _cffi_d_UploadMesh +#endif + +static Wave _cffi_d_WaveCopy(Wave x0) +{ + return WaveCopy(x0); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_WaveCopy(PyObject *self, PyObject *arg0) +{ + Wave x0; + Wave result; + PyObject *pyresult; + + if (_cffi_to_c((char *)&x0, _cffi_type(265), arg0) < 0) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = WaveCopy(x0); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + pyresult = _cffi_from_c_struct((char *)&result, _cffi_type(265)); + return pyresult; +} +#else +static void _cffi_f_WaveCopy(Wave *result, Wave *x0) +{ + { *result = WaveCopy(*x0); } +} +#endif + +static void _cffi_d_WaveCrop(Wave * x0, int x1, int x2) +{ + WaveCrop(x0, x1, x2); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_WaveCrop(PyObject *self, PyObject *args) +{ + Wave * x0; + int x1; + int x2; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + + if (!PyArg_UnpackTuple(args, "WaveCrop", 3, 3, &arg0, &arg1, &arg2)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(1169), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Wave *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(1169), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { WaveCrop(x0, x1, x2); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_WaveCrop _cffi_d_WaveCrop +#endif + +static void _cffi_d_WaveFormat(Wave * x0, int x1, int x2, int x3) +{ + WaveFormat(x0, x1, x2, x3); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_WaveFormat(PyObject *self, PyObject *args) +{ + Wave * x0; + int x1; + int x2; + int x3; + Py_ssize_t datasize; + struct _cffi_freeme_s *large_args_free = NULL; + PyObject *arg0; + PyObject *arg1; + PyObject *arg2; + PyObject *arg3; + + if (!PyArg_UnpackTuple(args, "WaveFormat", 4, 4, &arg0, &arg1, &arg2, &arg3)) + return NULL; + + datasize = _cffi_prepare_pointer_call_argument( + _cffi_type(1169), arg0, (char **)&x0); + if (datasize != 0) { + x0 = ((size_t)datasize) <= 640 ? (Wave *)alloca((size_t)datasize) : NULL; + if (_cffi_convert_array_argument(_cffi_type(1169), arg0, (char **)&x0, + datasize, &large_args_free) < 0) + return NULL; + } + + x1 = _cffi_to_c_int(arg1, int); + if (x1 == (int)-1 && PyErr_Occurred()) + return NULL; + + x2 = _cffi_to_c_int(arg2, int); + if (x2 == (int)-1 && PyErr_Occurred()) + return NULL; + + x3 = _cffi_to_c_int(arg3, int); + if (x3 == (int)-1 && PyErr_Occurred()) + return NULL; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { WaveFormat(x0, x1, x2, x3); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + if (large_args_free != NULL) _cffi_free_array_arguments(large_args_free); + Py_INCREF(Py_None); + return Py_None; +} +#else +# define _cffi_f_WaveFormat _cffi_d_WaveFormat +#endif + +static int _cffi_d_WindowShouldClose(void) +{ + return WindowShouldClose(); +} +#ifndef PYPY_VERSION +static PyObject * +_cffi_f_WindowShouldClose(PyObject *self, PyObject *noarg) +{ + int result; + PyObject *pyresult; + + Py_BEGIN_ALLOW_THREADS + _cffi_restore_errno(); + { result = WindowShouldClose(); } + _cffi_save_errno(); + Py_END_ALLOW_THREADS + + (void)self; /* unused */ + (void)noarg; /* unused */ + pyresult = _cffi_from_c_int(result, int); + return pyresult; +} +#else +# define _cffi_f_WindowShouldClose _cffi_d_WindowShouldClose +#endif + +static int _cffi_const_MATERIAL_MAP_DIFFUSE(unsigned long long *o) +{ + int n = (MATERIAL_MAP_DIFFUSE) <= 0; + *o = (unsigned long long)((MATERIAL_MAP_DIFFUSE) | 0); /* check that MATERIAL_MAP_DIFFUSE is an integer */ + if (!_cffi_check_int(*o, n, 0)) + n |= 2; + return n; +} + +static int _cffi_const_MATERIAL_MAP_SPECULAR(unsigned long long *o) +{ + int n = (MATERIAL_MAP_SPECULAR) <= 0; + *o = (unsigned long long)((MATERIAL_MAP_SPECULAR) | 0); /* check that MATERIAL_MAP_SPECULAR is an integer */ + if (!_cffi_check_int(*o, n, 1U)) + n |= 2; + return n; +} + +static int _cffi_const_SHADER_LOC_MAP_DIFFUSE(unsigned long long *o) +{ + int n = (SHADER_LOC_MAP_DIFFUSE) <= 0; + *o = (unsigned long long)((SHADER_LOC_MAP_DIFFUSE) | 0); /* check that SHADER_LOC_MAP_DIFFUSE is an integer */ + if (!_cffi_check_int(*o, n, 15U)) + n |= 2; + return n; +} + +static int _cffi_const_SHADER_LOC_MAP_SPECULAR(unsigned long long *o) +{ + int n = (SHADER_LOC_MAP_SPECULAR) <= 0; + *o = (unsigned long long)((SHADER_LOC_MAP_SPECULAR) | 0); /* check that SHADER_LOC_MAP_SPECULAR is an integer */ + if (!_cffi_check_int(*o, n, 16U)) + n |= 2; + return n; +} + +_CFFI_UNUSED_FN +static void _cffi_checkfld__AudioStream(AudioStream *p) +{ + /* only to generate compile-time warnings or errors */ + (void)p; + { rAudioBuffer * *tmp = &p->buffer; (void)tmp; } + (void)((p->sampleRate) | 0); /* check that 'AudioStream.sampleRate' is an integer */ + (void)((p->sampleSize) | 0); /* check that 'AudioStream.sampleSize' is an integer */ + (void)((p->channels) | 0); /* check that 'AudioStream.channels' is an integer */ +} +struct _cffi_align__AudioStream { char x; AudioStream y; }; + +_CFFI_UNUSED_FN +static void _cffi_checkfld__BoneInfo(BoneInfo *p) +{ + /* only to generate compile-time warnings or errors */ + (void)p; + { char(*tmp)[32] = &p->name; (void)tmp; } + (void)((p->parent) | 0); /* check that 'BoneInfo.parent' is an integer */ +} +struct _cffi_align__BoneInfo { char x; BoneInfo y; }; + +_CFFI_UNUSED_FN +static void _cffi_checkfld__BoundingBox(BoundingBox *p) +{ + /* only to generate compile-time warnings or errors */ + (void)p; + { Vector3 *tmp = &p->min; (void)tmp; } + { Vector3 *tmp = &p->max; (void)tmp; } +} +struct _cffi_align__BoundingBox { char x; BoundingBox y; }; + +_CFFI_UNUSED_FN +static void _cffi_checkfld__Camera2D(Camera2D *p) +{ + /* only to generate compile-time warnings or errors */ + (void)p; + { Vector2 *tmp = &p->offset; (void)tmp; } + { Vector2 *tmp = &p->target; (void)tmp; } + { float *tmp = &p->rotation; (void)tmp; } + { float *tmp = &p->zoom; (void)tmp; } +} +struct _cffi_align__Camera2D { char x; Camera2D y; }; + +_CFFI_UNUSED_FN +static void _cffi_checkfld__Camera3D(Camera3D *p) +{ + /* only to generate compile-time warnings or errors */ + (void)p; + { Vector3 *tmp = &p->position; (void)tmp; } + { Vector3 *tmp = &p->target; (void)tmp; } + { Vector3 *tmp = &p->up; (void)tmp; } + { float *tmp = &p->fovy; (void)tmp; } + (void)((p->projection) | 0); /* check that 'Camera3D.projection' is an integer */ +} +struct _cffi_align__Camera3D { char x; Camera3D y; }; + +_CFFI_UNUSED_FN +static void _cffi_checkfld__CharInfo(CharInfo *p) +{ + /* only to generate compile-time warnings or errors */ + (void)p; + (void)((p->value) | 0); /* check that 'CharInfo.value' is an integer */ + (void)((p->offsetX) | 0); /* check that 'CharInfo.offsetX' is an integer */ + (void)((p->offsetY) | 0); /* check that 'CharInfo.offsetY' is an integer */ + (void)((p->advanceX) | 0); /* check that 'CharInfo.advanceX' is an integer */ + { Image *tmp = &p->image; (void)tmp; } +} +struct _cffi_align__CharInfo { char x; CharInfo y; }; + +_CFFI_UNUSED_FN +static void _cffi_checkfld__Color(Color *p) +{ + /* only to generate compile-time warnings or errors */ + (void)p; + (void)((p->r) | 0); /* check that 'Color.r' is an integer */ + (void)((p->g) | 0); /* check that 'Color.g' is an integer */ + (void)((p->b) | 0); /* check that 'Color.b' is an integer */ + (void)((p->a) | 0); /* check that 'Color.a' is an integer */ +} +struct _cffi_align__Color { char x; Color y; }; + +_CFFI_UNUSED_FN +static void _cffi_checkfld__Font(Font *p) +{ + /* only to generate compile-time warnings or errors */ + (void)p; + (void)((p->baseSize) | 0); /* check that 'Font.baseSize' is an integer */ + (void)((p->charsCount) | 0); /* check that 'Font.charsCount' is an integer */ + (void)((p->charsPadding) | 0); /* check that 'Font.charsPadding' is an integer */ + { Texture *tmp = &p->texture; (void)tmp; } + { Rectangle * *tmp = &p->recs; (void)tmp; } + { CharInfo * *tmp = &p->chars; (void)tmp; } +} +struct _cffi_align__Font { char x; Font y; }; + +_CFFI_UNUSED_FN +static void _cffi_checkfld__Image(Image *p) +{ + /* only to generate compile-time warnings or errors */ + (void)p; + { void * *tmp = &p->data; (void)tmp; } + (void)((p->width) | 0); /* check that 'Image.width' is an integer */ + (void)((p->height) | 0); /* check that 'Image.height' is an integer */ + (void)((p->mipmaps) | 0); /* check that 'Image.mipmaps' is an integer */ + (void)((p->format) | 0); /* check that 'Image.format' is an integer */ +} +struct _cffi_align__Image { char x; Image y; }; + +_CFFI_UNUSED_FN +static void _cffi_checkfld__Material(Material *p) +{ + /* only to generate compile-time warnings or errors */ + (void)p; + { Shader *tmp = &p->shader; (void)tmp; } + { MaterialMap * *tmp = &p->maps; (void)tmp; } + { float(*tmp)[4] = &p->params; (void)tmp; } +} +struct _cffi_align__Material { char x; Material y; }; + +_CFFI_UNUSED_FN +static void _cffi_checkfld__MaterialMap(MaterialMap *p) +{ + /* only to generate compile-time warnings or errors */ + (void)p; + { Texture *tmp = &p->texture; (void)tmp; } + { Color *tmp = &p->color; (void)tmp; } + { float *tmp = &p->value; (void)tmp; } +} +struct _cffi_align__MaterialMap { char x; MaterialMap y; }; + +_CFFI_UNUSED_FN +static void _cffi_checkfld__Matrix(Matrix *p) +{ + /* only to generate compile-time warnings or errors */ + (void)p; + { float *tmp = &p->m0; (void)tmp; } + { float *tmp = &p->m4; (void)tmp; } + { float *tmp = &p->m8; (void)tmp; } + { float *tmp = &p->m12; (void)tmp; } + { float *tmp = &p->m1; (void)tmp; } + { float *tmp = &p->m5; (void)tmp; } + { float *tmp = &p->m9; (void)tmp; } + { float *tmp = &p->m13; (void)tmp; } + { float *tmp = &p->m2; (void)tmp; } + { float *tmp = &p->m6; (void)tmp; } + { float *tmp = &p->m10; (void)tmp; } + { float *tmp = &p->m14; (void)tmp; } + { float *tmp = &p->m3; (void)tmp; } + { float *tmp = &p->m7; (void)tmp; } + { float *tmp = &p->m11; (void)tmp; } + { float *tmp = &p->m15; (void)tmp; } +} +struct _cffi_align__Matrix { char x; Matrix y; }; + +_CFFI_UNUSED_FN +static void _cffi_checkfld__Mesh(Mesh *p) +{ + /* only to generate compile-time warnings or errors */ + (void)p; + (void)((p->vertexCount) | 0); /* check that 'Mesh.vertexCount' is an integer */ + (void)((p->triangleCount) | 0); /* check that 'Mesh.triangleCount' is an integer */ + { float * *tmp = &p->vertices; (void)tmp; } + { float * *tmp = &p->texcoords; (void)tmp; } + { float * *tmp = &p->texcoords2; (void)tmp; } + { float * *tmp = &p->normals; (void)tmp; } + { float * *tmp = &p->tangents; (void)tmp; } + { unsigned char * *tmp = &p->colors; (void)tmp; } + { unsigned short * *tmp = &p->indices; (void)tmp; } + { float * *tmp = &p->animVertices; (void)tmp; } + { float * *tmp = &p->animNormals; (void)tmp; } + { int * *tmp = &p->boneIds; (void)tmp; } + { float * *tmp = &p->boneWeights; (void)tmp; } + (void)((p->vaoId) | 0); /* check that 'Mesh.vaoId' is an integer */ + { unsigned int * *tmp = &p->vboId; (void)tmp; } +} +struct _cffi_align__Mesh { char x; Mesh y; }; + +_CFFI_UNUSED_FN +static void _cffi_checkfld__Model(Model *p) +{ + /* only to generate compile-time warnings or errors */ + (void)p; + { Matrix *tmp = &p->transform; (void)tmp; } + (void)((p->meshCount) | 0); /* check that 'Model.meshCount' is an integer */ + (void)((p->materialCount) | 0); /* check that 'Model.materialCount' is an integer */ + { Mesh * *tmp = &p->meshes; (void)tmp; } + { Material * *tmp = &p->materials; (void)tmp; } + { int * *tmp = &p->meshMaterial; (void)tmp; } + (void)((p->boneCount) | 0); /* check that 'Model.boneCount' is an integer */ + { BoneInfo * *tmp = &p->bones; (void)tmp; } + { Transform * *tmp = &p->bindPose; (void)tmp; } +} +struct _cffi_align__Model { char x; Model y; }; + +_CFFI_UNUSED_FN +static void _cffi_checkfld__ModelAnimation(ModelAnimation *p) +{ + /* only to generate compile-time warnings or errors */ + (void)p; + (void)((p->boneCount) | 0); /* check that 'ModelAnimation.boneCount' is an integer */ + (void)((p->frameCount) | 0); /* check that 'ModelAnimation.frameCount' is an integer */ + { BoneInfo * *tmp = &p->bones; (void)tmp; } + { Transform * * *tmp = &p->framePoses; (void)tmp; } +} +struct _cffi_align__ModelAnimation { char x; ModelAnimation y; }; + +_CFFI_UNUSED_FN +static void _cffi_checkfld__Music(Music *p) +{ + /* only to generate compile-time warnings or errors */ + (void)p; + { AudioStream *tmp = &p->stream; (void)tmp; } + (void)((p->sampleCount) | 0); /* check that 'Music.sampleCount' is an integer */ + (void)((p->looping) | 0); /* check that 'Music.looping' is an integer */ + (void)((p->ctxType) | 0); /* check that 'Music.ctxType' is an integer */ + { void * *tmp = &p->ctxData; (void)tmp; } +} +struct _cffi_align__Music { char x; Music y; }; + +_CFFI_UNUSED_FN +static void _cffi_checkfld__NPatchInfo(NPatchInfo *p) +{ + /* only to generate compile-time warnings or errors */ + (void)p; + { Rectangle *tmp = &p->source; (void)tmp; } + (void)((p->left) | 0); /* check that 'NPatchInfo.left' is an integer */ + (void)((p->top) | 0); /* check that 'NPatchInfo.top' is an integer */ + (void)((p->right) | 0); /* check that 'NPatchInfo.right' is an integer */ + (void)((p->bottom) | 0); /* check that 'NPatchInfo.bottom' is an integer */ + (void)((p->layout) | 0); /* check that 'NPatchInfo.layout' is an integer */ +} +struct _cffi_align__NPatchInfo { char x; NPatchInfo y; }; + +_CFFI_UNUSED_FN +static void _cffi_checkfld__Ray(Ray *p) +{ + /* only to generate compile-time warnings or errors */ + (void)p; + { Vector3 *tmp = &p->position; (void)tmp; } + { Vector3 *tmp = &p->direction; (void)tmp; } +} +struct _cffi_align__Ray { char x; Ray y; }; + +_CFFI_UNUSED_FN +static void _cffi_checkfld__RayHitInfo(RayHitInfo *p) +{ + /* only to generate compile-time warnings or errors */ + (void)p; + (void)((p->hit) | 0); /* check that 'RayHitInfo.hit' is an integer */ + { float *tmp = &p->distance; (void)tmp; } + { Vector3 *tmp = &p->position; (void)tmp; } + { Vector3 *tmp = &p->normal; (void)tmp; } +} +struct _cffi_align__RayHitInfo { char x; RayHitInfo y; }; + +_CFFI_UNUSED_FN +static void _cffi_checkfld__Rectangle(Rectangle *p) +{ + /* only to generate compile-time warnings or errors */ + (void)p; + { float *tmp = &p->x; (void)tmp; } + { float *tmp = &p->y; (void)tmp; } + { float *tmp = &p->width; (void)tmp; } + { float *tmp = &p->height; (void)tmp; } +} +struct _cffi_align__Rectangle { char x; Rectangle y; }; + +_CFFI_UNUSED_FN +static void _cffi_checkfld__RenderTexture(RenderTexture *p) +{ + /* only to generate compile-time warnings or errors */ + (void)p; + (void)((p->id) | 0); /* check that 'RenderTexture.id' is an integer */ + { Texture *tmp = &p->texture; (void)tmp; } + { Texture *tmp = &p->depth; (void)tmp; } +} +struct _cffi_align__RenderTexture { char x; RenderTexture y; }; + +_CFFI_UNUSED_FN +static void _cffi_checkfld__Shader(Shader *p) +{ + /* only to generate compile-time warnings or errors */ + (void)p; + (void)((p->id) | 0); /* check that 'Shader.id' is an integer */ + { int * *tmp = &p->locs; (void)tmp; } +} +struct _cffi_align__Shader { char x; Shader y; }; + +_CFFI_UNUSED_FN +static void _cffi_checkfld__Sound(Sound *p) +{ + /* only to generate compile-time warnings or errors */ + (void)p; + { AudioStream *tmp = &p->stream; (void)tmp; } + (void)((p->sampleCount) | 0); /* check that 'Sound.sampleCount' is an integer */ +} +struct _cffi_align__Sound { char x; Sound y; }; + +_CFFI_UNUSED_FN +static void _cffi_checkfld__Texture(Texture *p) +{ + /* only to generate compile-time warnings or errors */ + (void)p; + (void)((p->id) | 0); /* check that 'Texture.id' is an integer */ + (void)((p->width) | 0); /* check that 'Texture.width' is an integer */ + (void)((p->height) | 0); /* check that 'Texture.height' is an integer */ + (void)((p->mipmaps) | 0); /* check that 'Texture.mipmaps' is an integer */ + (void)((p->format) | 0); /* check that 'Texture.format' is an integer */ +} +struct _cffi_align__Texture { char x; Texture y; }; + +_CFFI_UNUSED_FN +static void _cffi_checkfld__Transform(Transform *p) +{ + /* only to generate compile-time warnings or errors */ + (void)p; + { Vector3 *tmp = &p->translation; (void)tmp; } + { Vector4 *tmp = &p->rotation; (void)tmp; } + { Vector3 *tmp = &p->scale; (void)tmp; } +} +struct _cffi_align__Transform { char x; Transform y; }; + +_CFFI_UNUSED_FN +static void _cffi_checkfld__Vector2(Vector2 *p) +{ + /* only to generate compile-time warnings or errors */ + (void)p; + { float *tmp = &p->x; (void)tmp; } + { float *tmp = &p->y; (void)tmp; } +} +struct _cffi_align__Vector2 { char x; Vector2 y; }; + +_CFFI_UNUSED_FN +static void _cffi_checkfld__Vector3(Vector3 *p) +{ + /* only to generate compile-time warnings or errors */ + (void)p; + { float *tmp = &p->x; (void)tmp; } + { float *tmp = &p->y; (void)tmp; } + { float *tmp = &p->z; (void)tmp; } +} +struct _cffi_align__Vector3 { char x; Vector3 y; }; + +_CFFI_UNUSED_FN +static void _cffi_checkfld__Vector4(Vector4 *p) +{ + /* only to generate compile-time warnings or errors */ + (void)p; + { float *tmp = &p->x; (void)tmp; } + { float *tmp = &p->y; (void)tmp; } + { float *tmp = &p->z; (void)tmp; } + { float *tmp = &p->w; (void)tmp; } +} +struct _cffi_align__Vector4 { char x; Vector4 y; }; + +_CFFI_UNUSED_FN +static void _cffi_checkfld__VrDeviceInfo(VrDeviceInfo *p) +{ + /* only to generate compile-time warnings or errors */ + (void)p; + (void)((p->hResolution) | 0); /* check that 'VrDeviceInfo.hResolution' is an integer */ + (void)((p->vResolution) | 0); /* check that 'VrDeviceInfo.vResolution' is an integer */ + { float *tmp = &p->hScreenSize; (void)tmp; } + { float *tmp = &p->vScreenSize; (void)tmp; } + { float *tmp = &p->vScreenCenter; (void)tmp; } + { float *tmp = &p->eyeToScreenDistance; (void)tmp; } + { float *tmp = &p->lensSeparationDistance; (void)tmp; } + { float *tmp = &p->interpupillaryDistance; (void)tmp; } + { float(*tmp)[4] = &p->lensDistortionValues; (void)tmp; } + { float(*tmp)[4] = &p->chromaAbCorrection; (void)tmp; } +} +struct _cffi_align__VrDeviceInfo { char x; VrDeviceInfo y; }; + +_CFFI_UNUSED_FN +static void _cffi_checkfld__VrStereoConfig(VrStereoConfig *p) +{ + /* only to generate compile-time warnings or errors */ + (void)p; + { Matrix(*tmp)[2] = &p->projection; (void)tmp; } + { Matrix(*tmp)[2] = &p->viewOffset; (void)tmp; } + { float(*tmp)[2] = &p->leftLensCenter; (void)tmp; } + { float(*tmp)[2] = &p->rightLensCenter; (void)tmp; } + { float(*tmp)[2] = &p->leftScreenCenter; (void)tmp; } + { float(*tmp)[2] = &p->rightScreenCenter; (void)tmp; } + { float(*tmp)[2] = &p->scale; (void)tmp; } + { float(*tmp)[2] = &p->scaleIn; (void)tmp; } +} +struct _cffi_align__VrStereoConfig { char x; VrStereoConfig y; }; + +_CFFI_UNUSED_FN +static void _cffi_checkfld__Wave(Wave *p) +{ + /* only to generate compile-time warnings or errors */ + (void)p; + (void)((p->sampleCount) | 0); /* check that 'Wave.sampleCount' is an integer */ + (void)((p->sampleRate) | 0); /* check that 'Wave.sampleRate' is an integer */ + (void)((p->sampleSize) | 0); /* check that 'Wave.sampleSize' is an integer */ + (void)((p->channels) | 0); /* check that 'Wave.channels' is an integer */ + { void * *tmp = &p->data; (void)tmp; } +} +struct _cffi_align__Wave { char x; Wave y; }; + +static const struct _cffi_global_s _cffi_globals[] = { + { "BLEND_ADDITIVE", (void *)_cffi_const_BLEND_ADDITIVE, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "BLEND_ADD_COLORS", (void *)_cffi_const_BLEND_ADD_COLORS, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "BLEND_ALPHA", (void *)_cffi_const_BLEND_ALPHA, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "BLEND_CUSTOM", (void *)_cffi_const_BLEND_CUSTOM, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "BLEND_MULTIPLIED", (void *)_cffi_const_BLEND_MULTIPLIED, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "BLEND_SUBTRACT_COLORS", (void *)_cffi_const_BLEND_SUBTRACT_COLORS, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "BeginBlendMode", (void *)_cffi_f_BeginBlendMode, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 1207), (void *)_cffi_d_BeginBlendMode }, + { "BeginDrawing", (void *)_cffi_f_BeginDrawing, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 1295), (void *)_cffi_d_BeginDrawing }, + { "BeginMode2D", (void *)_cffi_f_BeginMode2D, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 593), (void *)_cffi_d_BeginMode2D }, + { "BeginMode3D", (void *)_cffi_f_BeginMode3D, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 599), (void *)_cffi_d_BeginMode3D }, + { "BeginScissorMode", (void *)_cffi_f_BeginScissorMode, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1252), (void *)_cffi_d_BeginScissorMode }, + { "BeginShaderMode", (void *)_cffi_f_BeginShaderMode, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 911), (void *)_cffi_d_BeginShaderMode }, + { "BeginTextureMode", (void *)_cffi_f_BeginTextureMode, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 908), (void *)_cffi_d_BeginTextureMode }, + { "BeginVrStereoMode", (void *)_cffi_f_BeginVrStereoMode, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 1165), (void *)_cffi_d_BeginVrStereoMode }, + { "CAMERA_CUSTOM", (void *)_cffi_const_CAMERA_CUSTOM, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "CAMERA_FIRST_PERSON", (void *)_cffi_const_CAMERA_FIRST_PERSON, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "CAMERA_FREE", (void *)_cffi_const_CAMERA_FREE, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "CAMERA_ORBITAL", (void *)_cffi_const_CAMERA_ORBITAL, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "CAMERA_ORTHOGRAPHIC", (void *)_cffi_const_CAMERA_ORTHOGRAPHIC, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "CAMERA_PERSPECTIVE", (void *)_cffi_const_CAMERA_PERSPECTIVE, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "CAMERA_THIRD_PERSON", (void *)_cffi_const_CAMERA_THIRD_PERSON, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "CUBEMAP_LAYOUT_AUTO_DETECT", (void *)_cffi_const_CUBEMAP_LAYOUT_AUTO_DETECT, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "CUBEMAP_LAYOUT_CROSS_FOUR_BY_THREE", (void *)_cffi_const_CUBEMAP_LAYOUT_CROSS_FOUR_BY_THREE, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "CUBEMAP_LAYOUT_CROSS_THREE_BY_FOUR", (void *)_cffi_const_CUBEMAP_LAYOUT_CROSS_THREE_BY_FOUR, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "CUBEMAP_LAYOUT_LINE_HORIZONTAL", (void *)_cffi_const_CUBEMAP_LAYOUT_LINE_HORIZONTAL, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "CUBEMAP_LAYOUT_LINE_VERTICAL", (void *)_cffi_const_CUBEMAP_LAYOUT_LINE_VERTICAL, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "CUBEMAP_LAYOUT_PANORAMA", (void *)_cffi_const_CUBEMAP_LAYOUT_PANORAMA, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "ChangeDirectory", (void *)_cffi_f_ChangeDirectory, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 504), (void *)_cffi_d_ChangeDirectory }, + { "CheckCollisionBoxSphere", (void *)_cffi_f_CheckCollisionBoxSphere, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 404), (void *)_cffi_d_CheckCollisionBoxSphere }, + { "CheckCollisionBoxes", (void *)_cffi_f_CheckCollisionBoxes, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 400), (void *)_cffi_d_CheckCollisionBoxes }, + { "CheckCollisionCircleRec", (void *)_cffi_f_CheckCollisionCircleRec, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 479), (void *)_cffi_d_CheckCollisionCircleRec }, + { "CheckCollisionCircles", (void *)_cffi_f_CheckCollisionCircles, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 484), (void *)_cffi_d_CheckCollisionCircles }, + { "CheckCollisionLines", (void *)_cffi_f_CheckCollisionLines, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 467), (void *)_cffi_d_CheckCollisionLines }, + { "CheckCollisionPointCircle", (void *)_cffi_f_CheckCollisionPointCircle, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 474), (void *)_cffi_d_CheckCollisionPointCircle }, + { "CheckCollisionPointRec", (void *)_cffi_f_CheckCollisionPointRec, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 457), (void *)_cffi_d_CheckCollisionPointRec }, + { "CheckCollisionPointTriangle", (void *)_cffi_f_CheckCollisionPointTriangle, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 461), (void *)_cffi_d_CheckCollisionPointTriangle }, + { "CheckCollisionRayBox", (void *)_cffi_f_CheckCollisionRayBox, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 431), (void *)_cffi_d_CheckCollisionRayBox }, + { "CheckCollisionRaySphere", (void *)_cffi_f_CheckCollisionRaySphere, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 435), (void *)_cffi_d_CheckCollisionRaySphere }, + { "CheckCollisionRaySphereEx", (void *)_cffi_f_CheckCollisionRaySphereEx, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 440), (void *)_cffi_d_CheckCollisionRaySphereEx }, + { "CheckCollisionRecs", (void *)_cffi_f_CheckCollisionRecs, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 446), (void *)_cffi_d_CheckCollisionRecs }, + { "CheckCollisionSpheres", (void *)_cffi_f_CheckCollisionSpheres, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 490), (void *)_cffi_d_CheckCollisionSpheres }, + { "ClearBackground", (void *)_cffi_f_ClearBackground, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 628), (void *)_cffi_d_ClearBackground }, + { "ClearDirectoryFiles", (void *)_cffi_f_ClearDirectoryFiles, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 1295), (void *)_cffi_d_ClearDirectoryFiles }, + { "ClearDroppedFiles", (void *)_cffi_f_ClearDroppedFiles, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 1295), (void *)_cffi_d_ClearDroppedFiles }, + { "ClearWindowState", (void *)_cffi_f_ClearWindowState, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 1284), (void *)_cffi_d_ClearWindowState }, + { "CloseAudioDevice", (void *)_cffi_f_CloseAudioDevice, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 1295), (void *)_cffi_d_CloseAudioDevice }, + { "CloseAudioStream", (void *)_cffi_f_CloseAudioStream, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 577), (void *)_cffi_d_CloseAudioStream }, + { "CloseWindow", (void *)_cffi_f_CloseWindow, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 1295), (void *)_cffi_d_CloseWindow }, + { "CodepointToUtf8", (void *)_cffi_f_CodepointToUtf8, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 373), (void *)_cffi_d_CodepointToUtf8 }, + { "ColorAlpha", (void *)_cffi_f_ColorAlpha, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 29), (void *)_cffi_d_ColorAlpha }, + { "ColorAlphaBlend", (void *)_cffi_f_ColorAlphaBlend, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 24), (void *)_cffi_d_ColorAlphaBlend }, + { "ColorFromHSV", (void *)_cffi_f_ColorFromHSV, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 36), (void *)_cffi_d_ColorFromHSV }, + { "ColorFromNormalized", (void *)_cffi_f_ColorFromNormalized, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 33), (void *)_cffi_d_ColorFromNormalized }, + { "ColorNormalize", (void *)_cffi_f_ColorNormalize, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 308), (void *)_cffi_d_ColorNormalize }, + { "ColorToHSV", (void *)_cffi_f_ColorToHSV, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 305), (void *)_cffi_d_ColorToHSV }, + { "ColorToInt", (void *)_cffi_f_ColorToInt, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 409), (void *)_cffi_d_ColorToInt }, + { "CompressData", (void *)_cffi_f_CompressData, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 560), (void *)_cffi_d_CompressData }, + { "DecompressData", (void *)_cffi_f_DecompressData, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 560), (void *)_cffi_d_DecompressData }, + { "DirectoryExists", (void *)_cffi_f_DirectoryExists, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 504), (void *)_cffi_d_DirectoryExists }, + { "DisableCursor", (void *)_cffi_f_DisableCursor, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 1295), (void *)_cffi_d_DisableCursor }, + { "DrawBillboard", (void *)_cffi_f_DrawBillboard, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 610), (void *)_cffi_d_DrawBillboard }, + { "DrawBillboardRec", (void *)_cffi_f_DrawBillboardRec, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 602), (void *)_cffi_d_DrawBillboardRec }, + { "DrawBoundingBox", (void *)_cffi_f_DrawBoundingBox, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 589), (void *)_cffi_d_DrawBoundingBox }, + { "DrawCircle", (void *)_cffi_f_DrawCircle, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1232), (void *)_cffi_d_DrawCircle }, + { "DrawCircle3D", (void *)_cffi_f_DrawCircle3D, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1136), (void *)_cffi_d_DrawCircle3D }, + { "DrawCircleGradient", (void *)_cffi_f_DrawCircleGradient, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1238), (void *)_cffi_d_DrawCircleGradient }, + { "DrawCircleLines", (void *)_cffi_f_DrawCircleLines, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1232), (void *)_cffi_d_DrawCircleLines }, + { "DrawCircleSector", (void *)_cffi_f_DrawCircleSector, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1091), (void *)_cffi_d_DrawCircleSector }, + { "DrawCircleSectorLines", (void *)_cffi_f_DrawCircleSectorLines, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1091), (void *)_cffi_d_DrawCircleSectorLines }, + { "DrawCircleV", (void *)_cffi_f_DrawCircleV, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1077), (void *)_cffi_d_DrawCircleV }, + { "DrawCube", (void *)_cffi_f_DrawCube, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1143), (void *)_cffi_d_DrawCube }, + { "DrawCubeTexture", (void *)_cffi_f_DrawCubeTexture, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1022), (void *)_cffi_d_DrawCubeTexture }, + { "DrawCubeV", (void *)_cffi_f_DrawCubeV, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1120), (void *)_cffi_d_DrawCubeV }, + { "DrawCubeWires", (void *)_cffi_f_DrawCubeWires, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1143), (void *)_cffi_d_DrawCubeWires }, + { "DrawCubeWiresV", (void *)_cffi_f_DrawCubeWiresV, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1120), (void *)_cffi_d_DrawCubeWiresV }, + { "DrawCylinder", (void *)_cffi_f_DrawCylinder, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1150), (void *)_cffi_d_DrawCylinder }, + { "DrawCylinderWires", (void *)_cffi_f_DrawCylinderWires, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1150), (void *)_cffi_d_DrawCylinderWires }, + { "DrawEllipse", (void *)_cffi_f_DrawEllipse, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1245), (void *)_cffi_d_DrawEllipse }, + { "DrawEllipseLines", (void *)_cffi_f_DrawEllipseLines, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1245), (void *)_cffi_d_DrawEllipseLines }, + { "DrawFPS", (void *)_cffi_f_DrawFPS, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1218), (void *)_cffi_d_DrawFPS }, + { "DrawGrid", (void *)_cffi_f_DrawGrid, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1214), (void *)_cffi_d_DrawGrid }, + { "DrawLine", (void *)_cffi_f_DrawLine, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1258), (void *)_cffi_d_DrawLine }, + { "DrawLine3D", (void *)_cffi_f_DrawLine3D, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1120), (void *)_cffi_d_DrawLine3D }, + { "DrawLineBezier", (void *)_cffi_f_DrawLineBezier, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1071), (void *)_cffi_d_DrawLineBezier }, + { "DrawLineBezierQuad", (void *)_cffi_f_DrawLineBezierQuad, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1064), (void *)_cffi_d_DrawLineBezierQuad }, + { "DrawLineEx", (void *)_cffi_f_DrawLineEx, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1071), (void *)_cffi_d_DrawLineEx }, + { "DrawLineStrip", (void *)_cffi_f_DrawLineStrip, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1044), (void *)_cffi_d_DrawLineStrip }, + { "DrawLineV", (void *)_cffi_f_DrawLineV, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1053), (void *)_cffi_d_DrawLineV }, + { "DrawMesh", (void *)_cffi_f_DrawMesh, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 816), (void *)_cffi_d_DrawMesh }, + { "DrawMeshInstanced", (void *)_cffi_f_DrawMeshInstanced, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 810), (void *)_cffi_d_DrawMeshInstanced }, + { "DrawModel", (void *)_cffi_f_DrawModel, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 849), (void *)_cffi_d_DrawModel }, + { "DrawModelEx", (void *)_cffi_f_DrawModelEx, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 841), (void *)_cffi_d_DrawModelEx }, + { "DrawModelWires", (void *)_cffi_f_DrawModelWires, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 849), (void *)_cffi_d_DrawModelWires }, + { "DrawModelWiresEx", (void *)_cffi_f_DrawModelWiresEx, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 841), (void *)_cffi_d_DrawModelWiresEx }, + { "DrawPixel", (void *)_cffi_f_DrawPixel, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1222), (void *)_cffi_d_DrawPixel }, + { "DrawPixelV", (void *)_cffi_f_DrawPixelV, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1049), (void *)_cffi_d_DrawPixelV }, + { "DrawPlane", (void *)_cffi_f_DrawPlane, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1115), (void *)_cffi_d_DrawPlane }, + { "DrawPoint3D", (void *)_cffi_f_DrawPoint3D, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1111), (void *)_cffi_d_DrawPoint3D }, + { "DrawPoly", (void *)_cffi_f_DrawPoly, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1099), (void *)_cffi_d_DrawPoly }, + { "DrawPolyLines", (void *)_cffi_f_DrawPolyLines, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1099), (void *)_cffi_d_DrawPolyLines }, + { "DrawRay", (void *)_cffi_f_DrawRay, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 869), (void *)_cffi_d_DrawRay }, + { "DrawRectangle", (void *)_cffi_f_DrawRectangle, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1258), (void *)_cffi_d_DrawRectangle }, + { "DrawRectangleGradientEx", (void *)_cffi_f_DrawRectangleGradientEx, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 877), (void *)_cffi_d_DrawRectangleGradientEx }, + { "DrawRectangleGradientH", (void *)_cffi_f_DrawRectangleGradientH, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1265), (void *)_cffi_d_DrawRectangleGradientH }, + { "DrawRectangleGradientV", (void *)_cffi_f_DrawRectangleGradientV, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1265), (void *)_cffi_d_DrawRectangleGradientV }, + { "DrawRectangleLines", (void *)_cffi_f_DrawRectangleLines, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1258), (void *)_cffi_d_DrawRectangleLines }, + { "DrawRectangleLinesEx", (void *)_cffi_f_DrawRectangleLinesEx, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 903), (void *)_cffi_d_DrawRectangleLinesEx }, + { "DrawRectanglePro", (void *)_cffi_f_DrawRectanglePro, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 884), (void *)_cffi_d_DrawRectanglePro }, + { "DrawRectangleRec", (void *)_cffi_f_DrawRectangleRec, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 873), (void *)_cffi_d_DrawRectangleRec }, + { "DrawRectangleRounded", (void *)_cffi_f_DrawRectangleRounded, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 890), (void *)_cffi_d_DrawRectangleRounded }, + { "DrawRectangleRoundedLines", (void *)_cffi_f_DrawRectangleRoundedLines, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 896), (void *)_cffi_d_DrawRectangleRoundedLines }, + { "DrawRectangleV", (void *)_cffi_f_DrawRectangleV, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1053), (void *)_cffi_d_DrawRectangleV }, + { "DrawRing", (void *)_cffi_f_DrawRing, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1082), (void *)_cffi_d_DrawRing }, + { "DrawRingLines", (void *)_cffi_f_DrawRingLines, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1082), (void *)_cffi_d_DrawRingLines }, + { "DrawSphere", (void *)_cffi_f_DrawSphere, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1131), (void *)_cffi_d_DrawSphere }, + { "DrawSphereEx", (void *)_cffi_f_DrawSphereEx, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1158), (void *)_cffi_d_DrawSphereEx }, + { "DrawSphereWires", (void *)_cffi_f_DrawSphereWires, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1158), (void *)_cffi_d_DrawSphereWires }, + { "DrawText", (void *)_cffi_f_DrawText, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1190), (void *)_cffi_d_DrawText }, + { "DrawTextCodepoint", (void *)_cffi_f_DrawTextCodepoint, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 664), (void *)_cffi_d_DrawTextCodepoint }, + { "DrawTextEx", (void *)_cffi_f_DrawTextEx, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 656), (void *)_cffi_d_DrawTextEx }, + { "DrawTextRec", (void *)_cffi_f_DrawTextRec, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 634), (void *)_cffi_d_DrawTextRec }, + { "DrawTextRecEx", (void *)_cffi_f_DrawTextRecEx, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 643), (void *)_cffi_d_DrawTextRecEx }, + { "DrawTexture", (void *)_cffi_f_DrawTexture, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1034), (void *)_cffi_d_DrawTexture }, + { "DrawTextureEx", (void *)_cffi_f_DrawTextureEx, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1015), (void *)_cffi_d_DrawTextureEx }, + { "DrawTextureNPatch", (void *)_cffi_f_DrawTextureNPatch, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 955), (void *)_cffi_d_DrawTextureNPatch }, + { "DrawTexturePoly", (void *)_cffi_f_DrawTexturePoly, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1000), (void *)_cffi_d_DrawTexturePoly }, + { "DrawTexturePro", (void *)_cffi_f_DrawTexturePro, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 967), (void *)_cffi_d_DrawTexturePro }, + { "DrawTextureQuad", (void *)_cffi_f_DrawTextureQuad, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1008), (void *)_cffi_d_DrawTextureQuad }, + { "DrawTextureRec", (void *)_cffi_f_DrawTextureRec, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 984), (void *)_cffi_d_DrawTextureRec }, + { "DrawTextureTiled", (void *)_cffi_f_DrawTextureTiled, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 975), (void *)_cffi_d_DrawTextureTiled }, + { "DrawTextureV", (void *)_cffi_f_DrawTextureV, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 995), (void *)_cffi_d_DrawTextureV }, + { "DrawTriangle", (void *)_cffi_f_DrawTriangle, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1058), (void *)_cffi_d_DrawTriangle }, + { "DrawTriangle3D", (void *)_cffi_f_DrawTriangle3D, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1125), (void *)_cffi_d_DrawTriangle3D }, + { "DrawTriangleFan", (void *)_cffi_f_DrawTriangleFan, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1044), (void *)_cffi_d_DrawTriangleFan }, + { "DrawTriangleLines", (void *)_cffi_f_DrawTriangleLines, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1058), (void *)_cffi_d_DrawTriangleLines }, + { "DrawTriangleStrip", (void *)_cffi_f_DrawTriangleStrip, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1044), (void *)_cffi_d_DrawTriangleStrip }, + { "DrawTriangleStrip3D", (void *)_cffi_f_DrawTriangleStrip3D, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1106), (void *)_cffi_d_DrawTriangleStrip3D }, + { "EnableCursor", (void *)_cffi_f_EnableCursor, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 1295), (void *)_cffi_d_EnableCursor }, + { "EndBlendMode", (void *)_cffi_f_EndBlendMode, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 1295), (void *)_cffi_d_EndBlendMode }, + { "EndDrawing", (void *)_cffi_f_EndDrawing, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 1295), (void *)_cffi_d_EndDrawing }, + { "EndMode2D", (void *)_cffi_f_EndMode2D, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 1295), (void *)_cffi_d_EndMode2D }, + { "EndMode3D", (void *)_cffi_f_EndMode3D, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 1295), (void *)_cffi_d_EndMode3D }, + { "EndScissorMode", (void *)_cffi_f_EndScissorMode, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 1295), (void *)_cffi_d_EndScissorMode }, + { "EndShaderMode", (void *)_cffi_f_EndShaderMode, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 1295), (void *)_cffi_d_EndShaderMode }, + { "EndTextureMode", (void *)_cffi_f_EndTextureMode, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 1295), (void *)_cffi_d_EndTextureMode }, + { "EndVrStereoMode", (void *)_cffi_f_EndVrStereoMode, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 1295), (void *)_cffi_d_EndVrStereoMode }, + { "ExportImage", (void *)_cffi_f_ExportImage, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 416), (void *)_cffi_d_ExportImage }, + { "ExportImageAsCode", (void *)_cffi_f_ExportImageAsCode, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 416), (void *)_cffi_d_ExportImageAsCode }, + { "ExportMesh", (void *)_cffi_f_ExportMesh, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 420), (void *)_cffi_d_ExportMesh }, + { "ExportWave", (void *)_cffi_f_ExportWave, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 496), (void *)_cffi_d_ExportWave }, + { "ExportWaveAsCode", (void *)_cffi_f_ExportWaveAsCode, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 496), (void *)_cffi_d_ExportWaveAsCode }, + { "FLAG_FULLSCREEN_MODE", (void *)_cffi_const_FLAG_FULLSCREEN_MODE, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "FLAG_INTERLACED_HINT", (void *)_cffi_const_FLAG_INTERLACED_HINT, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "FLAG_MSAA_4X_HINT", (void *)_cffi_const_FLAG_MSAA_4X_HINT, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "FLAG_VSYNC_HINT", (void *)_cffi_const_FLAG_VSYNC_HINT, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "FLAG_WINDOW_ALWAYS_RUN", (void *)_cffi_const_FLAG_WINDOW_ALWAYS_RUN, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "FLAG_WINDOW_HIDDEN", (void *)_cffi_const_FLAG_WINDOW_HIDDEN, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "FLAG_WINDOW_HIGHDPI", (void *)_cffi_const_FLAG_WINDOW_HIGHDPI, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "FLAG_WINDOW_MAXIMIZED", (void *)_cffi_const_FLAG_WINDOW_MAXIMIZED, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "FLAG_WINDOW_MINIMIZED", (void *)_cffi_const_FLAG_WINDOW_MINIMIZED, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "FLAG_WINDOW_RESIZABLE", (void *)_cffi_const_FLAG_WINDOW_RESIZABLE, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "FLAG_WINDOW_TOPMOST", (void *)_cffi_const_FLAG_WINDOW_TOPMOST, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "FLAG_WINDOW_TRANSPARENT", (void *)_cffi_const_FLAG_WINDOW_TRANSPARENT, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "FLAG_WINDOW_UNDECORATED", (void *)_cffi_const_FLAG_WINDOW_UNDECORATED, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "FLAG_WINDOW_UNFOCUSED", (void *)_cffi_const_FLAG_WINDOW_UNFOCUSED, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "FONT_BITMAP", (void *)_cffi_const_FONT_BITMAP, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "FONT_DEFAULT", (void *)_cffi_const_FONT_DEFAULT, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "FONT_SDF", (void *)_cffi_const_FONT_SDF, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "Fade", (void *)_cffi_f_Fade, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 29), (void *)_cffi_d_Fade }, + { "FileExists", (void *)_cffi_f_FileExists, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 504), (void *)_cffi_d_FileExists }, + { "GAMEPAD_AXIS_LEFT_TRIGGER", (void *)_cffi_const_GAMEPAD_AXIS_LEFT_TRIGGER, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "GAMEPAD_AXIS_LEFT_X", (void *)_cffi_const_GAMEPAD_AXIS_LEFT_X, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "GAMEPAD_AXIS_LEFT_Y", (void *)_cffi_const_GAMEPAD_AXIS_LEFT_Y, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "GAMEPAD_AXIS_RIGHT_TRIGGER", (void *)_cffi_const_GAMEPAD_AXIS_RIGHT_TRIGGER, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "GAMEPAD_AXIS_RIGHT_X", (void *)_cffi_const_GAMEPAD_AXIS_RIGHT_X, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "GAMEPAD_AXIS_RIGHT_Y", (void *)_cffi_const_GAMEPAD_AXIS_RIGHT_Y, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "GAMEPAD_BUTTON_LEFT_FACE_DOWN", (void *)_cffi_const_GAMEPAD_BUTTON_LEFT_FACE_DOWN, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "GAMEPAD_BUTTON_LEFT_FACE_LEFT", (void *)_cffi_const_GAMEPAD_BUTTON_LEFT_FACE_LEFT, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "GAMEPAD_BUTTON_LEFT_FACE_RIGHT", (void *)_cffi_const_GAMEPAD_BUTTON_LEFT_FACE_RIGHT, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "GAMEPAD_BUTTON_LEFT_FACE_UP", (void *)_cffi_const_GAMEPAD_BUTTON_LEFT_FACE_UP, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "GAMEPAD_BUTTON_LEFT_THUMB", (void *)_cffi_const_GAMEPAD_BUTTON_LEFT_THUMB, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "GAMEPAD_BUTTON_LEFT_TRIGGER_1", (void *)_cffi_const_GAMEPAD_BUTTON_LEFT_TRIGGER_1, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "GAMEPAD_BUTTON_LEFT_TRIGGER_2", (void *)_cffi_const_GAMEPAD_BUTTON_LEFT_TRIGGER_2, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "GAMEPAD_BUTTON_MIDDLE", (void *)_cffi_const_GAMEPAD_BUTTON_MIDDLE, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "GAMEPAD_BUTTON_MIDDLE_LEFT", (void *)_cffi_const_GAMEPAD_BUTTON_MIDDLE_LEFT, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "GAMEPAD_BUTTON_MIDDLE_RIGHT", (void *)_cffi_const_GAMEPAD_BUTTON_MIDDLE_RIGHT, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "GAMEPAD_BUTTON_RIGHT_FACE_DOWN", (void *)_cffi_const_GAMEPAD_BUTTON_RIGHT_FACE_DOWN, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "GAMEPAD_BUTTON_RIGHT_FACE_LEFT", (void *)_cffi_const_GAMEPAD_BUTTON_RIGHT_FACE_LEFT, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "GAMEPAD_BUTTON_RIGHT_FACE_RIGHT", (void *)_cffi_const_GAMEPAD_BUTTON_RIGHT_FACE_RIGHT, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "GAMEPAD_BUTTON_RIGHT_FACE_UP", (void *)_cffi_const_GAMEPAD_BUTTON_RIGHT_FACE_UP, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "GAMEPAD_BUTTON_RIGHT_THUMB", (void *)_cffi_const_GAMEPAD_BUTTON_RIGHT_THUMB, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "GAMEPAD_BUTTON_RIGHT_TRIGGER_1", (void *)_cffi_const_GAMEPAD_BUTTON_RIGHT_TRIGGER_1, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "GAMEPAD_BUTTON_RIGHT_TRIGGER_2", (void *)_cffi_const_GAMEPAD_BUTTON_RIGHT_TRIGGER_2, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "GAMEPAD_BUTTON_UNKNOWN", (void *)_cffi_const_GAMEPAD_BUTTON_UNKNOWN, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "GESTURE_DOUBLETAP", (void *)_cffi_const_GESTURE_DOUBLETAP, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "GESTURE_DRAG", (void *)_cffi_const_GESTURE_DRAG, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "GESTURE_HOLD", (void *)_cffi_const_GESTURE_HOLD, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "GESTURE_NONE", (void *)_cffi_const_GESTURE_NONE, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "GESTURE_PINCH_IN", (void *)_cffi_const_GESTURE_PINCH_IN, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "GESTURE_PINCH_OUT", (void *)_cffi_const_GESTURE_PINCH_OUT, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "GESTURE_SWIPE_DOWN", (void *)_cffi_const_GESTURE_SWIPE_DOWN, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "GESTURE_SWIPE_LEFT", (void *)_cffi_const_GESTURE_SWIPE_LEFT, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "GESTURE_SWIPE_RIGHT", (void *)_cffi_const_GESTURE_SWIPE_RIGHT, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "GESTURE_SWIPE_UP", (void *)_cffi_const_GESTURE_SWIPE_UP, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "GESTURE_TAP", (void *)_cffi_const_GESTURE_TAP, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "GenImageCellular", (void *)_cffi_f_GenImageCellular, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 144), (void *)_cffi_d_GenImageCellular }, + { "GenImageChecked", (void *)_cffi_f_GenImageChecked, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 149), (void *)_cffi_d_GenImageChecked }, + { "GenImageColor", (void *)_cffi_f_GenImageColor, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 121), (void *)_cffi_d_GenImageColor }, + { "GenImageFontAtlas", (void *)_cffi_f_GenImageFontAtlas, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 72), (void *)_cffi_d_GenImageFontAtlas }, + { "GenImageGradientH", (void *)_cffi_f_GenImageGradientH, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 126), (void *)_cffi_d_GenImageGradientH }, + { "GenImageGradientRadial", (void *)_cffi_f_GenImageGradientRadial, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 137), (void *)_cffi_d_GenImageGradientRadial }, + { "GenImageGradientV", (void *)_cffi_f_GenImageGradientV, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 126), (void *)_cffi_d_GenImageGradientV }, + { "GenImagePerlinNoise", (void *)_cffi_f_GenImagePerlinNoise, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 157), (void *)_cffi_d_GenImagePerlinNoise }, + { "GenImageWhiteNoise", (void *)_cffi_f_GenImageWhiteNoise, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 132), (void *)_cffi_d_GenImageWhiteNoise }, + { "GenMeshCube", (void *)_cffi_f_GenMeshCube, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 182), (void *)_cffi_d_GenMeshCube }, + { "GenMeshCubicmap", (void *)_cffi_f_GenMeshCubicmap, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 178), (void *)_cffi_d_GenMeshCubicmap }, + { "GenMeshCylinder", (void *)_cffi_f_GenMeshCylinder, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 187), (void *)_cffi_d_GenMeshCylinder }, + { "GenMeshHeightmap", (void *)_cffi_f_GenMeshHeightmap, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 178), (void *)_cffi_d_GenMeshHeightmap }, + { "GenMeshHemiSphere", (void *)_cffi_f_GenMeshHemiSphere, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 198), (void *)_cffi_d_GenMeshHemiSphere }, + { "GenMeshKnot", (void *)_cffi_f_GenMeshKnot, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 192), (void *)_cffi_d_GenMeshKnot }, + { "GenMeshPlane", (void *)_cffi_f_GenMeshPlane, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 192), (void *)_cffi_d_GenMeshPlane }, + { "GenMeshPoly", (void *)_cffi_f_GenMeshPoly, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 203), (void *)_cffi_d_GenMeshPoly }, + { "GenMeshSphere", (void *)_cffi_f_GenMeshSphere, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 198), (void *)_cffi_d_GenMeshSphere }, + { "GenMeshTorus", (void *)_cffi_f_GenMeshTorus, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 192), (void *)_cffi_d_GenMeshTorus }, + { "GenTextureMipmaps", (void *)_cffi_f_GenTextureMipmaps, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 949), (void *)_cffi_d_GenTextureMipmaps }, + { "GetCameraMatrix", (void *)_cffi_f_GetCameraMatrix, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 175), (void *)_cffi_d_GetCameraMatrix }, + { "GetCameraMatrix2D", (void *)_cffi_f_GetCameraMatrix2D, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 172), (void *)_cffi_d_GetCameraMatrix2D }, + { "GetCharPressed", (void *)_cffi_f_GetCharPressed, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 551), (void *)_cffi_d_GetCharPressed }, + { "GetClipboardText", (void *)_cffi_f_GetClipboardText, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 377), (void *)_cffi_d_GetClipboardText }, + { "GetCodepoints", (void *)_cffi_f_GetCodepoints, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 393), (void *)_cffi_d_GetCodepoints }, + { "GetCodepointsCount", (void *)_cffi_f_GetCodepointsCount, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 504), (void *)_cffi_d_GetCodepointsCount }, + { "GetCollisionRayGround", (void *)_cffi_f_GetCollisionRayGround, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 244), (void *)_cffi_d_GetCollisionRayGround }, + { "GetCollisionRayMesh", (void *)_cffi_f_GetCollisionRayMesh, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 229), (void *)_cffi_d_GetCollisionRayMesh }, + { "GetCollisionRayModel", (void *)_cffi_f_GetCollisionRayModel, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 234), (void *)_cffi_d_GetCollisionRayModel }, + { "GetCollisionRayTriangle", (void *)_cffi_f_GetCollisionRayTriangle, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 238), (void *)_cffi_d_GetCollisionRayTriangle }, + { "GetCollisionRec", (void *)_cffi_f_GetCollisionRec, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 252), (void *)_cffi_d_GetCollisionRec }, + { "GetColor", (void *)_cffi_f_GetColor, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 41), (void *)_cffi_d_GetColor }, + { "GetCurrentMonitor", (void *)_cffi_f_GetCurrentMonitor, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 551), (void *)_cffi_d_GetCurrentMonitor }, + { "GetDirectoryFiles", (void *)_cffi_f_GetDirectoryFiles, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 325), (void *)_cffi_d_GetDirectoryFiles }, + { "GetDirectoryPath", (void *)_cffi_f_GetDirectoryPath, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 359), (void *)_cffi_d_GetDirectoryPath }, + { "GetDroppedFiles", (void *)_cffi_f_GetDroppedFiles, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 329), (void *)_cffi_d_GetDroppedFiles }, + { "GetFPS", (void *)_cffi_f_GetFPS, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 551), (void *)_cffi_d_GetFPS }, + { "GetFileExtension", (void *)_cffi_f_GetFileExtension, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 359), (void *)_cffi_d_GetFileExtension }, + { "GetFileModTime", (void *)_cffi_f_GetFileModTime, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 553), (void *)_cffi_d_GetFileModTime }, + { "GetFileName", (void *)_cffi_f_GetFileName, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 359), (void *)_cffi_d_GetFileName }, + { "GetFileNameWithoutExt", (void *)_cffi_f_GetFileNameWithoutExt, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 359), (void *)_cffi_d_GetFileNameWithoutExt }, + { "GetFontDefault", (void *)_cffi_f_GetFontDefault, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 70), (void *)_cffi_d_GetFontDefault }, + { "GetFrameTime", (void *)_cffi_f_GetFrameTime, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 391), (void *)_cffi_d_GetFrameTime }, + { "GetGamepadAxisCount", (void *)_cffi_f_GetGamepadAxisCount, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 528), (void *)_cffi_d_GetGamepadAxisCount }, + { "GetGamepadAxisMovement", (void *)_cffi_f_GetGamepadAxisMovement, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 387), (void *)_cffi_d_GetGamepadAxisMovement }, + { "GetGamepadButtonPressed", (void *)_cffi_f_GetGamepadButtonPressed, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 551), (void *)_cffi_d_GetGamepadButtonPressed }, + { "GetGamepadName", (void *)_cffi_f_GetGamepadName, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 370), (void *)_cffi_d_GetGamepadName }, + { "GetGestureDetected", (void *)_cffi_f_GetGestureDetected, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 551), (void *)_cffi_d_GetGestureDetected }, + { "GetGestureDragAngle", (void *)_cffi_f_GetGestureDragAngle, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 391), (void *)_cffi_d_GetGestureDragAngle }, + { "GetGestureDragVector", (void *)_cffi_f_GetGestureDragVector, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 303), (void *)_cffi_d_GetGestureDragVector }, + { "GetGestureHoldDuration", (void *)_cffi_f_GetGestureHoldDuration, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 391), (void *)_cffi_d_GetGestureHoldDuration }, + { "GetGesturePinchAngle", (void *)_cffi_f_GetGesturePinchAngle, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 391), (void *)_cffi_d_GetGesturePinchAngle }, + { "GetGesturePinchVector", (void *)_cffi_f_GetGesturePinchVector, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 303), (void *)_cffi_d_GetGesturePinchVector }, + { "GetGlyphIndex", (void *)_cffi_f_GetGlyphIndex, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 412), (void *)_cffi_d_GetGlyphIndex }, + { "GetImageAlphaBorder", (void *)_cffi_f_GetImageAlphaBorder, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 248), (void *)_cffi_d_GetImageAlphaBorder }, + { "GetKeyPressed", (void *)_cffi_f_GetKeyPressed, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 551), (void *)_cffi_d_GetKeyPressed }, + { "GetMonitorCount", (void *)_cffi_f_GetMonitorCount, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 551), (void *)_cffi_d_GetMonitorCount }, + { "GetMonitorHeight", (void *)_cffi_f_GetMonitorHeight, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 528), (void *)_cffi_d_GetMonitorHeight }, + { "GetMonitorName", (void *)_cffi_f_GetMonitorName, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 370), (void *)_cffi_d_GetMonitorName }, + { "GetMonitorPhysicalHeight", (void *)_cffi_f_GetMonitorPhysicalHeight, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 528), (void *)_cffi_d_GetMonitorPhysicalHeight }, + { "GetMonitorPhysicalWidth", (void *)_cffi_f_GetMonitorPhysicalWidth, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 528), (void *)_cffi_d_GetMonitorPhysicalWidth }, + { "GetMonitorPosition", (void *)_cffi_f_GetMonitorPosition, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 300), (void *)_cffi_d_GetMonitorPosition }, + { "GetMonitorRefreshRate", (void *)_cffi_f_GetMonitorRefreshRate, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 528), (void *)_cffi_d_GetMonitorRefreshRate }, + { "GetMonitorWidth", (void *)_cffi_f_GetMonitorWidth, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 528), (void *)_cffi_d_GetMonitorWidth }, + { "GetMousePosition", (void *)_cffi_f_GetMousePosition, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 303), (void *)_cffi_d_GetMousePosition }, + { "GetMouseRay", (void *)_cffi_f_GetMouseRay, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 225), (void *)_cffi_d_GetMouseRay }, + { "GetMouseWheelMove", (void *)_cffi_f_GetMouseWheelMove, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 391), (void *)_cffi_d_GetMouseWheelMove }, + { "GetMouseX", (void *)_cffi_f_GetMouseX, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 551), (void *)_cffi_d_GetMouseX }, + { "GetMouseY", (void *)_cffi_f_GetMouseY, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 551), (void *)_cffi_d_GetMouseY }, + { "GetMusicTimeLength", (void *)_cffi_f_GetMusicTimeLength, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 384), (void *)_cffi_d_GetMusicTimeLength }, + { "GetMusicTimePlayed", (void *)_cffi_f_GetMusicTimePlayed, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 384), (void *)_cffi_d_GetMusicTimePlayed }, + { "GetNextCodepoint", (void *)_cffi_f_GetNextCodepoint, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 515), (void *)_cffi_d_GetNextCodepoint }, + { "GetPixelColor", (void *)_cffi_f_GetPixelColor, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 44), (void *)_cffi_d_GetPixelColor }, + { "GetPixelDataSize", (void *)_cffi_f_GetPixelDataSize, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 539), (void *)_cffi_d_GetPixelDataSize }, + { "GetPrevDirectoryPath", (void *)_cffi_f_GetPrevDirectoryPath, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 359), (void *)_cffi_d_GetPrevDirectoryPath }, + { "GetRandomValue", (void *)_cffi_f_GetRandomValue, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 535), (void *)_cffi_d_GetRandomValue }, + { "GetScreenData", (void *)_cffi_f_GetScreenData, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 164), (void *)_cffi_d_GetScreenData }, + { "GetScreenHeight", (void *)_cffi_f_GetScreenHeight, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 551), (void *)_cffi_d_GetScreenHeight }, + { "GetScreenToWorld2D", (void *)_cffi_f_GetScreenToWorld2D, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 286), (void *)_cffi_d_GetScreenToWorld2D }, + { "GetScreenWidth", (void *)_cffi_f_GetScreenWidth, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 551), (void *)_cffi_d_GetScreenWidth }, + { "GetShaderLocation", (void *)_cffi_f_GetShaderLocation, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 450), (void *)_cffi_d_GetShaderLocation }, + { "GetShaderLocationAttrib", (void *)_cffi_f_GetShaderLocationAttrib, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 450), (void *)_cffi_d_GetShaderLocationAttrib }, + { "GetSoundsPlaying", (void *)_cffi_f_GetSoundsPlaying, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 551), (void *)_cffi_d_GetSoundsPlaying }, + { "GetTextureData", (void *)_cffi_f_GetTextureData, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 94), (void *)_cffi_d_GetTextureData }, + { "GetTime", (void *)_cffi_f_GetTime, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 379), (void *)_cffi_d_GetTime }, + { "GetTouchPointsCount", (void *)_cffi_f_GetTouchPointsCount, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 551), (void *)_cffi_d_GetTouchPointsCount }, + { "GetTouchPosition", (void *)_cffi_f_GetTouchPosition, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 300), (void *)_cffi_d_GetTouchPosition }, + { "GetTouchX", (void *)_cffi_f_GetTouchX, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 551), (void *)_cffi_d_GetTouchX }, + { "GetTouchY", (void *)_cffi_f_GetTouchY, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 551), (void *)_cffi_d_GetTouchY }, + { "GetWindowHandle", (void *)_cffi_f_GetWindowHandle, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 575), (void *)_cffi_d_GetWindowHandle }, + { "GetWindowPosition", (void *)_cffi_f_GetWindowPosition, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 303), (void *)_cffi_d_GetWindowPosition }, + { "GetWindowScaleDPI", (void *)_cffi_f_GetWindowScaleDPI, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 303), (void *)_cffi_d_GetWindowScaleDPI }, + { "GetWorkingDirectory", (void *)_cffi_f_GetWorkingDirectory, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 377), (void *)_cffi_d_GetWorkingDirectory }, + { "GetWorldToScreen", (void *)_cffi_f_GetWorldToScreen, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 290), (void *)_cffi_d_GetWorldToScreen }, + { "GetWorldToScreen2D", (void *)_cffi_f_GetWorldToScreen2D, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 286), (void *)_cffi_d_GetWorldToScreen2D }, + { "GetWorldToScreenEx", (void *)_cffi_f_GetWorldToScreenEx, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 294), (void *)_cffi_d_GetWorldToScreenEx }, + { "HideCursor", (void *)_cffi_f_HideCursor, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 1295), (void *)_cffi_d_HideCursor }, + { "ImageAlphaClear", (void *)_cffi_f_ImageAlphaClear, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 683), (void *)_cffi_d_ImageAlphaClear }, + { "ImageAlphaCrop", (void *)_cffi_f_ImageAlphaCrop, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 748), (void *)_cffi_d_ImageAlphaCrop }, + { "ImageAlphaMask", (void *)_cffi_f_ImageAlphaMask, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 697), (void *)_cffi_d_ImageAlphaMask }, + { "ImageAlphaPremultiply", (void *)_cffi_f_ImageAlphaPremultiply, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 671), (void *)_cffi_d_ImageAlphaPremultiply }, + { "ImageClearBackground", (void *)_cffi_f_ImageClearBackground, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 674), (void *)_cffi_d_ImageClearBackground }, + { "ImageColorBrightness", (void *)_cffi_f_ImageColorBrightness, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 752), (void *)_cffi_d_ImageColorBrightness }, + { "ImageColorContrast", (void *)_cffi_f_ImageColorContrast, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 748), (void *)_cffi_d_ImageColorContrast }, + { "ImageColorGrayscale", (void *)_cffi_f_ImageColorGrayscale, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 671), (void *)_cffi_d_ImageColorGrayscale }, + { "ImageColorInvert", (void *)_cffi_f_ImageColorInvert, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 671), (void *)_cffi_d_ImageColorInvert }, + { "ImageColorReplace", (void *)_cffi_f_ImageColorReplace, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 678), (void *)_cffi_d_ImageColorReplace }, + { "ImageColorTint", (void *)_cffi_f_ImageColorTint, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 674), (void *)_cffi_d_ImageColorTint }, + { "ImageCopy", (void *)_cffi_f_ImageCopy, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 87), (void *)_cffi_d_ImageCopy }, + { "ImageCrop", (void *)_cffi_f_ImageCrop, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 708), (void *)_cffi_d_ImageCrop }, + { "ImageDither", (void *)_cffi_f_ImageDither, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 774), (void *)_cffi_d_ImageDither }, + { "ImageDraw", (void *)_cffi_f_ImageDraw, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 701), (void *)_cffi_d_ImageDraw }, + { "ImageDrawCircle", (void *)_cffi_f_ImageDrawCircle, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 767), (void *)_cffi_d_ImageDrawCircle }, + { "ImageDrawCircleV", (void *)_cffi_f_ImageDrawCircleV, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 734), (void *)_cffi_d_ImageDrawCircleV }, + { "ImageDrawLine", (void *)_cffi_f_ImageDrawLine, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 781), (void *)_cffi_d_ImageDrawLine }, + { "ImageDrawLineV", (void *)_cffi_f_ImageDrawLineV, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 728), (void *)_cffi_d_ImageDrawLineV }, + { "ImageDrawPixel", (void *)_cffi_f_ImageDrawPixel, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 761), (void *)_cffi_d_ImageDrawPixel }, + { "ImageDrawPixelV", (void *)_cffi_f_ImageDrawPixelV, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 723), (void *)_cffi_d_ImageDrawPixelV }, + { "ImageDrawRectangle", (void *)_cffi_f_ImageDrawRectangle, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 781), (void *)_cffi_d_ImageDrawRectangle }, + { "ImageDrawRectangleLines", (void *)_cffi_f_ImageDrawRectangleLines, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 717), (void *)_cffi_d_ImageDrawRectangleLines }, + { "ImageDrawRectangleRec", (void *)_cffi_f_ImageDrawRectangleRec, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 712), (void *)_cffi_d_ImageDrawRectangleRec }, + { "ImageDrawRectangleV", (void *)_cffi_f_ImageDrawRectangleV, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 728), (void *)_cffi_d_ImageDrawRectangleV }, + { "ImageDrawText", (void *)_cffi_f_ImageDrawText, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 740), (void *)_cffi_d_ImageDrawText }, + { "ImageDrawTextEx", (void *)_cffi_f_ImageDrawTextEx, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 688), (void *)_cffi_d_ImageDrawTextEx }, + { "ImageFlipHorizontal", (void *)_cffi_f_ImageFlipHorizontal, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 671), (void *)_cffi_d_ImageFlipHorizontal }, + { "ImageFlipVertical", (void *)_cffi_f_ImageFlipVertical, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 671), (void *)_cffi_d_ImageFlipVertical }, + { "ImageFormat", (void *)_cffi_f_ImageFormat, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 752), (void *)_cffi_d_ImageFormat }, + { "ImageFromImage", (void *)_cffi_f_ImageFromImage, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 90), (void *)_cffi_d_ImageFromImage }, + { "ImageMipmaps", (void *)_cffi_f_ImageMipmaps, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 671), (void *)_cffi_d_ImageMipmaps }, + { "ImageResize", (void *)_cffi_f_ImageResize, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 756), (void *)_cffi_d_ImageResize }, + { "ImageResizeCanvas", (void *)_cffi_f_ImageResizeCanvas, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 781), (void *)_cffi_d_ImageResizeCanvas }, + { "ImageResizeNN", (void *)_cffi_f_ImageResizeNN, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 756), (void *)_cffi_d_ImageResizeNN }, + { "ImageRotateCCW", (void *)_cffi_f_ImageRotateCCW, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 671), (void *)_cffi_d_ImageRotateCCW }, + { "ImageRotateCW", (void *)_cffi_f_ImageRotateCW, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 671), (void *)_cffi_d_ImageRotateCW }, + { "ImageText", (void *)_cffi_f_ImageText, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 104), (void *)_cffi_d_ImageText }, + { "ImageTextEx", (void *)_cffi_f_ImageTextEx, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 80), (void *)_cffi_d_ImageTextEx }, + { "ImageToPOT", (void *)_cffi_f_ImageToPOT, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 674), (void *)_cffi_d_ImageToPOT }, + { "InitAudioDevice", (void *)_cffi_f_InitAudioDevice, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 1295), (void *)_cffi_d_InitAudioDevice }, + { "InitAudioStream", (void *)_cffi_f_InitAudioStream, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 0), (void *)_cffi_d_InitAudioStream }, + { "InitWindow", (void *)_cffi_f_InitWindow, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1227), (void *)_cffi_d_InitWindow }, + { "IsAudioDeviceReady", (void *)_cffi_f_IsAudioDeviceReady, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 551), (void *)_cffi_d_IsAudioDeviceReady }, + { "IsAudioStreamPlaying", (void *)_cffi_f_IsAudioStreamPlaying, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 397), (void *)_cffi_d_IsAudioStreamPlaying }, + { "IsAudioStreamProcessed", (void *)_cffi_f_IsAudioStreamProcessed, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 397), (void *)_cffi_d_IsAudioStreamProcessed }, + { "IsCursorHidden", (void *)_cffi_f_IsCursorHidden, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 551), (void *)_cffi_d_IsCursorHidden }, + { "IsCursorOnScreen", (void *)_cffi_f_IsCursorOnScreen, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 551), (void *)_cffi_d_IsCursorOnScreen }, + { "IsFileDropped", (void *)_cffi_f_IsFileDropped, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 551), (void *)_cffi_d_IsFileDropped }, + { "IsFileExtension", (void *)_cffi_f_IsFileExtension, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 511), (void *)_cffi_d_IsFileExtension }, + { "IsGamepadAvailable", (void *)_cffi_f_IsGamepadAvailable, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 528), (void *)_cffi_d_IsGamepadAvailable }, + { "IsGamepadButtonDown", (void *)_cffi_f_IsGamepadButtonDown, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 535), (void *)_cffi_d_IsGamepadButtonDown }, + { "IsGamepadButtonPressed", (void *)_cffi_f_IsGamepadButtonPressed, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 535), (void *)_cffi_d_IsGamepadButtonPressed }, + { "IsGamepadButtonReleased", (void *)_cffi_f_IsGamepadButtonReleased, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 535), (void *)_cffi_d_IsGamepadButtonReleased }, + { "IsGamepadButtonUp", (void *)_cffi_f_IsGamepadButtonUp, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 535), (void *)_cffi_d_IsGamepadButtonUp }, + { "IsGamepadName", (void *)_cffi_f_IsGamepadName, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 531), (void *)_cffi_d_IsGamepadName }, + { "IsGestureDetected", (void *)_cffi_f_IsGestureDetected, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 528), (void *)_cffi_d_IsGestureDetected }, + { "IsKeyDown", (void *)_cffi_f_IsKeyDown, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 528), (void *)_cffi_d_IsKeyDown }, + { "IsKeyPressed", (void *)_cffi_f_IsKeyPressed, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 528), (void *)_cffi_d_IsKeyPressed }, + { "IsKeyReleased", (void *)_cffi_f_IsKeyReleased, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 528), (void *)_cffi_d_IsKeyReleased }, + { "IsKeyUp", (void *)_cffi_f_IsKeyUp, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 528), (void *)_cffi_d_IsKeyUp }, + { "IsModelAnimationValid", (void *)_cffi_f_IsModelAnimationValid, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 424), (void *)_cffi_d_IsModelAnimationValid }, + { "IsMouseButtonDown", (void *)_cffi_f_IsMouseButtonDown, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 528), (void *)_cffi_d_IsMouseButtonDown }, + { "IsMouseButtonPressed", (void *)_cffi_f_IsMouseButtonPressed, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 528), (void *)_cffi_d_IsMouseButtonPressed }, + { "IsMouseButtonReleased", (void *)_cffi_f_IsMouseButtonReleased, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 528), (void *)_cffi_d_IsMouseButtonReleased }, + { "IsMouseButtonUp", (void *)_cffi_f_IsMouseButtonUp, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 528), (void *)_cffi_d_IsMouseButtonUp }, + { "IsMusicPlaying", (void *)_cffi_f_IsMusicPlaying, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 428), (void *)_cffi_d_IsMusicPlaying }, + { "IsSoundPlaying", (void *)_cffi_f_IsSoundPlaying, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 454), (void *)_cffi_d_IsSoundPlaying }, + { "IsWindowFocused", (void *)_cffi_f_IsWindowFocused, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 551), (void *)_cffi_d_IsWindowFocused }, + { "IsWindowFullscreen", (void *)_cffi_f_IsWindowFullscreen, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 551), (void *)_cffi_d_IsWindowFullscreen }, + { "IsWindowHidden", (void *)_cffi_f_IsWindowHidden, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 551), (void *)_cffi_d_IsWindowHidden }, + { "IsWindowMaximized", (void *)_cffi_f_IsWindowMaximized, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 551), (void *)_cffi_d_IsWindowMaximized }, + { "IsWindowMinimized", (void *)_cffi_f_IsWindowMinimized, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 551), (void *)_cffi_d_IsWindowMinimized }, + { "IsWindowReady", (void *)_cffi_f_IsWindowReady, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 551), (void *)_cffi_d_IsWindowReady }, + { "IsWindowResized", (void *)_cffi_f_IsWindowResized, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 551), (void *)_cffi_d_IsWindowResized }, + { "IsWindowState", (void *)_cffi_f_IsWindowState, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 544), (void *)_cffi_d_IsWindowState }, + { "KEY_A", (void *)_cffi_const_KEY_A, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_APOSTROPHE", (void *)_cffi_const_KEY_APOSTROPHE, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_B", (void *)_cffi_const_KEY_B, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_BACK", (void *)_cffi_const_KEY_BACK, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_BACKSLASH", (void *)_cffi_const_KEY_BACKSLASH, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_BACKSPACE", (void *)_cffi_const_KEY_BACKSPACE, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_C", (void *)_cffi_const_KEY_C, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_CAPS_LOCK", (void *)_cffi_const_KEY_CAPS_LOCK, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_COMMA", (void *)_cffi_const_KEY_COMMA, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_D", (void *)_cffi_const_KEY_D, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_DELETE", (void *)_cffi_const_KEY_DELETE, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_DOWN", (void *)_cffi_const_KEY_DOWN, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_E", (void *)_cffi_const_KEY_E, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_EIGHT", (void *)_cffi_const_KEY_EIGHT, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_END", (void *)_cffi_const_KEY_END, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_ENTER", (void *)_cffi_const_KEY_ENTER, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_EQUAL", (void *)_cffi_const_KEY_EQUAL, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_ESCAPE", (void *)_cffi_const_KEY_ESCAPE, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_F", (void *)_cffi_const_KEY_F, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_F1", (void *)_cffi_const_KEY_F1, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_F10", (void *)_cffi_const_KEY_F10, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_F11", (void *)_cffi_const_KEY_F11, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_F12", (void *)_cffi_const_KEY_F12, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_F2", (void *)_cffi_const_KEY_F2, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_F3", (void *)_cffi_const_KEY_F3, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_F4", (void *)_cffi_const_KEY_F4, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_F5", (void *)_cffi_const_KEY_F5, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_F6", (void *)_cffi_const_KEY_F6, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_F7", (void *)_cffi_const_KEY_F7, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_F8", (void *)_cffi_const_KEY_F8, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_F9", (void *)_cffi_const_KEY_F9, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_FIVE", (void *)_cffi_const_KEY_FIVE, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_FOUR", (void *)_cffi_const_KEY_FOUR, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_G", (void *)_cffi_const_KEY_G, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_GRAVE", (void *)_cffi_const_KEY_GRAVE, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_H", (void *)_cffi_const_KEY_H, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_HOME", (void *)_cffi_const_KEY_HOME, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_I", (void *)_cffi_const_KEY_I, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_INSERT", (void *)_cffi_const_KEY_INSERT, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_J", (void *)_cffi_const_KEY_J, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_K", (void *)_cffi_const_KEY_K, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_KB_MENU", (void *)_cffi_const_KEY_KB_MENU, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_KP_0", (void *)_cffi_const_KEY_KP_0, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_KP_1", (void *)_cffi_const_KEY_KP_1, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_KP_2", (void *)_cffi_const_KEY_KP_2, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_KP_3", (void *)_cffi_const_KEY_KP_3, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_KP_4", (void *)_cffi_const_KEY_KP_4, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_KP_5", (void *)_cffi_const_KEY_KP_5, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_KP_6", (void *)_cffi_const_KEY_KP_6, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_KP_7", (void *)_cffi_const_KEY_KP_7, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_KP_8", (void *)_cffi_const_KEY_KP_8, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_KP_9", (void *)_cffi_const_KEY_KP_9, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_KP_ADD", (void *)_cffi_const_KEY_KP_ADD, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_KP_DECIMAL", (void *)_cffi_const_KEY_KP_DECIMAL, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_KP_DIVIDE", (void *)_cffi_const_KEY_KP_DIVIDE, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_KP_ENTER", (void *)_cffi_const_KEY_KP_ENTER, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_KP_EQUAL", (void *)_cffi_const_KEY_KP_EQUAL, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_KP_MULTIPLY", (void *)_cffi_const_KEY_KP_MULTIPLY, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_KP_SUBTRACT", (void *)_cffi_const_KEY_KP_SUBTRACT, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_L", (void *)_cffi_const_KEY_L, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_LEFT", (void *)_cffi_const_KEY_LEFT, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_LEFT_ALT", (void *)_cffi_const_KEY_LEFT_ALT, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_LEFT_BRACKET", (void *)_cffi_const_KEY_LEFT_BRACKET, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_LEFT_CONTROL", (void *)_cffi_const_KEY_LEFT_CONTROL, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_LEFT_SHIFT", (void *)_cffi_const_KEY_LEFT_SHIFT, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_LEFT_SUPER", (void *)_cffi_const_KEY_LEFT_SUPER, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_M", (void *)_cffi_const_KEY_M, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_MENU", (void *)_cffi_const_KEY_MENU, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_MINUS", (void *)_cffi_const_KEY_MINUS, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_N", (void *)_cffi_const_KEY_N, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_NINE", (void *)_cffi_const_KEY_NINE, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_NULL", (void *)_cffi_const_KEY_NULL, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_NUM_LOCK", (void *)_cffi_const_KEY_NUM_LOCK, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_O", (void *)_cffi_const_KEY_O, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_ONE", (void *)_cffi_const_KEY_ONE, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_P", (void *)_cffi_const_KEY_P, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_PAGE_DOWN", (void *)_cffi_const_KEY_PAGE_DOWN, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_PAGE_UP", (void *)_cffi_const_KEY_PAGE_UP, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_PAUSE", (void *)_cffi_const_KEY_PAUSE, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_PERIOD", (void *)_cffi_const_KEY_PERIOD, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_PRINT_SCREEN", (void *)_cffi_const_KEY_PRINT_SCREEN, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_Q", (void *)_cffi_const_KEY_Q, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_R", (void *)_cffi_const_KEY_R, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_RIGHT", (void *)_cffi_const_KEY_RIGHT, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_RIGHT_ALT", (void *)_cffi_const_KEY_RIGHT_ALT, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_RIGHT_BRACKET", (void *)_cffi_const_KEY_RIGHT_BRACKET, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_RIGHT_CONTROL", (void *)_cffi_const_KEY_RIGHT_CONTROL, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_RIGHT_SHIFT", (void *)_cffi_const_KEY_RIGHT_SHIFT, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_RIGHT_SUPER", (void *)_cffi_const_KEY_RIGHT_SUPER, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_S", (void *)_cffi_const_KEY_S, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_SCROLL_LOCK", (void *)_cffi_const_KEY_SCROLL_LOCK, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_SEMICOLON", (void *)_cffi_const_KEY_SEMICOLON, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_SEVEN", (void *)_cffi_const_KEY_SEVEN, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_SIX", (void *)_cffi_const_KEY_SIX, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_SLASH", (void *)_cffi_const_KEY_SLASH, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_SPACE", (void *)_cffi_const_KEY_SPACE, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_T", (void *)_cffi_const_KEY_T, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_TAB", (void *)_cffi_const_KEY_TAB, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_THREE", (void *)_cffi_const_KEY_THREE, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_TWO", (void *)_cffi_const_KEY_TWO, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_U", (void *)_cffi_const_KEY_U, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_UP", (void *)_cffi_const_KEY_UP, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_V", (void *)_cffi_const_KEY_V, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_VOLUME_DOWN", (void *)_cffi_const_KEY_VOLUME_DOWN, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_VOLUME_UP", (void *)_cffi_const_KEY_VOLUME_UP, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_W", (void *)_cffi_const_KEY_W, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_X", (void *)_cffi_const_KEY_X, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_Y", (void *)_cffi_const_KEY_Y, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_Z", (void *)_cffi_const_KEY_Z, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "KEY_ZERO", (void *)_cffi_const_KEY_ZERO, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "LOG_ALL", (void *)_cffi_const_LOG_ALL, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "LOG_DEBUG", (void *)_cffi_const_LOG_DEBUG, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "LOG_ERROR", (void *)_cffi_const_LOG_ERROR, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "LOG_FATAL", (void *)_cffi_const_LOG_FATAL, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "LOG_INFO", (void *)_cffi_const_LOG_INFO, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "LOG_NONE", (void *)_cffi_const_LOG_NONE, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "LOG_TRACE", (void *)_cffi_const_LOG_TRACE, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "LOG_WARNING", (void *)_cffi_const_LOG_WARNING, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "LoadFileData", (void *)_cffi_f_LoadFileData, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 556), (void *)_cffi_d_LoadFileData }, + { "LoadFileText", (void *)_cffi_f_LoadFileText, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 337), (void *)_cffi_d_LoadFileText }, + { "LoadFont", (void *)_cffi_f_LoadFont, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 53), (void *)_cffi_d_LoadFont }, + { "LoadFontData", (void *)_cffi_f_LoadFontData, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 8), (void *)_cffi_d_LoadFontData }, + { "LoadFontEx", (void *)_cffi_f_LoadFontEx, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 56), (void *)_cffi_d_LoadFontEx }, + { "LoadFontFromImage", (void *)_cffi_f_LoadFontFromImage, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 48), (void *)_cffi_d_LoadFontFromImage }, + { "LoadFontFromMemory", (void *)_cffi_f_LoadFontFromMemory, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 62), (void *)_cffi_d_LoadFontFromMemory }, + { "LoadImage", (void *)_cffi_f_LoadImage, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 97), (void *)_cffi_d_LoadImage }, + { "LoadImageAnim", (void *)_cffi_f_LoadImageAnim, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 100), (void *)_cffi_d_LoadImageAnim }, + { "LoadImageColors", (void *)_cffi_f_LoadImageColors, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 16), (void *)_cffi_d_LoadImageColors }, + { "LoadImageFromMemory", (void *)_cffi_f_LoadImageFromMemory, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 116), (void *)_cffi_d_LoadImageFromMemory }, + { "LoadImagePalette", (void *)_cffi_f_LoadImagePalette, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 19), (void *)_cffi_d_LoadImagePalette }, + { "LoadImageRaw", (void *)_cffi_f_LoadImageRaw, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 109), (void *)_cffi_d_LoadImageRaw }, + { "LoadMaterialDefault", (void *)_cffi_f_LoadMaterialDefault, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 170), (void *)_cffi_d_LoadMaterialDefault }, + { "LoadMaterials", (void *)_cffi_f_LoadMaterials, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 166), (void *)_cffi_d_LoadMaterials }, + { "LoadModel", (void *)_cffi_f_LoadModel, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 210), (void *)_cffi_d_LoadModel }, + { "LoadModelAnimations", (void *)_cffi_f_LoadModelAnimations, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 213), (void *)_cffi_d_LoadModelAnimations }, + { "LoadModelFromMesh", (void *)_cffi_f_LoadModelFromMesh, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 207), (void *)_cffi_d_LoadModelFromMesh }, + { "LoadMusicStream", (void *)_cffi_f_LoadMusicStream, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 217), (void *)_cffi_d_LoadMusicStream }, + { "LoadMusicStreamFromMemory", (void *)_cffi_f_LoadMusicStreamFromMemory, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 220), (void *)_cffi_d_LoadMusicStreamFromMemory }, + { "LoadRenderTexture", (void *)_cffi_f_LoadRenderTexture, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 256), (void *)_cffi_d_LoadRenderTexture }, + { "LoadShader", (void *)_cffi_f_LoadShader, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 260), (void *)_cffi_d_LoadShader }, + { "LoadShaderFromMemory", (void *)_cffi_f_LoadShaderFromMemory, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 260), (void *)_cffi_d_LoadShaderFromMemory }, + { "LoadSound", (void *)_cffi_f_LoadSound, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 267), (void *)_cffi_d_LoadSound }, + { "LoadSoundFromWave", (void *)_cffi_f_LoadSoundFromWave, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 264), (void *)_cffi_d_LoadSoundFromWave }, + { "LoadStorageValue", (void *)_cffi_f_LoadStorageValue, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 544), (void *)_cffi_d_LoadStorageValue }, + { "LoadTexture", (void *)_cffi_f_LoadTexture, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 277), (void *)_cffi_d_LoadTexture }, + { "LoadTextureCubemap", (void *)_cffi_f_LoadTextureCubemap, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 273), (void *)_cffi_d_LoadTextureCubemap }, + { "LoadTextureFromImage", (void *)_cffi_f_LoadTextureFromImage, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 270), (void *)_cffi_d_LoadTextureFromImage }, + { "LoadVrStereoConfig", (void *)_cffi_f_LoadVrStereoConfig, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 311), (void *)_cffi_d_LoadVrStereoConfig }, + { "LoadWave", (void *)_cffi_f_LoadWave, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 317), (void *)_cffi_d_LoadWave }, + { "LoadWaveFromMemory", (void *)_cffi_f_LoadWaveFromMemory, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 320), (void *)_cffi_d_LoadWaveFromMemory }, + { "LoadWaveSamples", (void *)_cffi_f_LoadWaveSamples, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 381), (void *)_cffi_d_LoadWaveSamples }, + { "MATERIAL_MAP_ALBEDO", (void *)_cffi_const_MATERIAL_MAP_ALBEDO, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "MATERIAL_MAP_BRDG", (void *)_cffi_const_MATERIAL_MAP_BRDG, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "MATERIAL_MAP_CUBEMAP", (void *)_cffi_const_MATERIAL_MAP_CUBEMAP, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "MATERIAL_MAP_DIFFUSE", (void *)_cffi_const_MATERIAL_MAP_DIFFUSE, _CFFI_OP(_CFFI_OP_CONSTANT_INT, -1), (void *)0 }, + { "MATERIAL_MAP_EMISSION", (void *)_cffi_const_MATERIAL_MAP_EMISSION, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "MATERIAL_MAP_HEIGHT", (void *)_cffi_const_MATERIAL_MAP_HEIGHT, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "MATERIAL_MAP_IRRADIANCE", (void *)_cffi_const_MATERIAL_MAP_IRRADIANCE, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "MATERIAL_MAP_METALNESS", (void *)_cffi_const_MATERIAL_MAP_METALNESS, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "MATERIAL_MAP_NORMAL", (void *)_cffi_const_MATERIAL_MAP_NORMAL, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "MATERIAL_MAP_OCCLUSION", (void *)_cffi_const_MATERIAL_MAP_OCCLUSION, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "MATERIAL_MAP_PREFILTER", (void *)_cffi_const_MATERIAL_MAP_PREFILTER, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "MATERIAL_MAP_ROUGHNESS", (void *)_cffi_const_MATERIAL_MAP_ROUGHNESS, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "MATERIAL_MAP_SPECULAR", (void *)_cffi_const_MATERIAL_MAP_SPECULAR, _CFFI_OP(_CFFI_OP_CONSTANT_INT, -1), (void *)0 }, + { "MOUSE_CURSOR_ARROW", (void *)_cffi_const_MOUSE_CURSOR_ARROW, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "MOUSE_CURSOR_CROSSHAIR", (void *)_cffi_const_MOUSE_CURSOR_CROSSHAIR, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "MOUSE_CURSOR_DEFAULT", (void *)_cffi_const_MOUSE_CURSOR_DEFAULT, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "MOUSE_CURSOR_IBEAM", (void *)_cffi_const_MOUSE_CURSOR_IBEAM, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "MOUSE_CURSOR_NOT_ALLOWED", (void *)_cffi_const_MOUSE_CURSOR_NOT_ALLOWED, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "MOUSE_CURSOR_POINTING_HAND", (void *)_cffi_const_MOUSE_CURSOR_POINTING_HAND, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "MOUSE_CURSOR_RESIZE_ALL", (void *)_cffi_const_MOUSE_CURSOR_RESIZE_ALL, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "MOUSE_CURSOR_RESIZE_EW", (void *)_cffi_const_MOUSE_CURSOR_RESIZE_EW, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "MOUSE_CURSOR_RESIZE_NESW", (void *)_cffi_const_MOUSE_CURSOR_RESIZE_NESW, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "MOUSE_CURSOR_RESIZE_NS", (void *)_cffi_const_MOUSE_CURSOR_RESIZE_NS, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "MOUSE_CURSOR_RESIZE_NWSE", (void *)_cffi_const_MOUSE_CURSOR_RESIZE_NWSE, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "MOUSE_LEFT_BUTTON", (void *)_cffi_const_MOUSE_LEFT_BUTTON, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "MOUSE_MIDDLE_BUTTON", (void *)_cffi_const_MOUSE_MIDDLE_BUTTON, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "MOUSE_RIGHT_BUTTON", (void *)_cffi_const_MOUSE_RIGHT_BUTTON, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "MaximizeWindow", (void *)_cffi_f_MaximizeWindow, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 1295), (void *)_cffi_d_MaximizeWindow }, + { "MeasureText", (void *)_cffi_f_MeasureText, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 519), (void *)_cffi_d_MeasureText }, + { "MeasureTextEx", (void *)_cffi_f_MeasureTextEx, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 280), (void *)_cffi_d_MeasureTextEx }, + { "MemAlloc", (void *)_cffi_f_MemAlloc, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 568), (void *)_cffi_d_MemAlloc }, + { "MemFree", (void *)_cffi_f_MemFree, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 1287), (void *)_cffi_d_MemFree }, + { "MemRealloc", (void *)_cffi_f_MemRealloc, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 571), (void *)_cffi_d_MemRealloc }, + { "MeshBinormals", (void *)_cffi_f_MeshBinormals, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 800), (void *)_cffi_d_MeshBinormals }, + { "MeshBoundingBox", (void *)_cffi_f_MeshBoundingBox, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 5), (void *)_cffi_d_MeshBoundingBox }, + { "MeshTangents", (void *)_cffi_f_MeshTangents, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 800), (void *)_cffi_d_MeshTangents }, + { "MinimizeWindow", (void *)_cffi_f_MinimizeWindow, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 1295), (void *)_cffi_d_MinimizeWindow }, + { "NPATCH_NINE_PATCH", (void *)_cffi_const_NPATCH_NINE_PATCH, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "NPATCH_THREE_PATCH_HORIZONTAL", (void *)_cffi_const_NPATCH_THREE_PATCH_HORIZONTAL, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "NPATCH_THREE_PATCH_VERTICAL", (void *)_cffi_const_NPATCH_THREE_PATCH_VERTICAL, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "OpenURL", (void *)_cffi_f_OpenURL, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 1187), (void *)_cffi_d_OpenURL }, + { "PIXELFORMAT_COMPRESSED_ASTC_4x4_RGBA", (void *)_cffi_const_PIXELFORMAT_COMPRESSED_ASTC_4x4_RGBA, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "PIXELFORMAT_COMPRESSED_ASTC_8x8_RGBA", (void *)_cffi_const_PIXELFORMAT_COMPRESSED_ASTC_8x8_RGBA, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "PIXELFORMAT_COMPRESSED_DXT1_RGB", (void *)_cffi_const_PIXELFORMAT_COMPRESSED_DXT1_RGB, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "PIXELFORMAT_COMPRESSED_DXT1_RGBA", (void *)_cffi_const_PIXELFORMAT_COMPRESSED_DXT1_RGBA, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "PIXELFORMAT_COMPRESSED_DXT3_RGBA", (void *)_cffi_const_PIXELFORMAT_COMPRESSED_DXT3_RGBA, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "PIXELFORMAT_COMPRESSED_DXT5_RGBA", (void *)_cffi_const_PIXELFORMAT_COMPRESSED_DXT5_RGBA, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "PIXELFORMAT_COMPRESSED_ETC1_RGB", (void *)_cffi_const_PIXELFORMAT_COMPRESSED_ETC1_RGB, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "PIXELFORMAT_COMPRESSED_ETC2_EAC_RGBA", (void *)_cffi_const_PIXELFORMAT_COMPRESSED_ETC2_EAC_RGBA, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "PIXELFORMAT_COMPRESSED_ETC2_RGB", (void *)_cffi_const_PIXELFORMAT_COMPRESSED_ETC2_RGB, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "PIXELFORMAT_COMPRESSED_PVRT_RGB", (void *)_cffi_const_PIXELFORMAT_COMPRESSED_PVRT_RGB, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "PIXELFORMAT_COMPRESSED_PVRT_RGBA", (void *)_cffi_const_PIXELFORMAT_COMPRESSED_PVRT_RGBA, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "PIXELFORMAT_UNCOMPRESSED_GRAYSCALE", (void *)_cffi_const_PIXELFORMAT_UNCOMPRESSED_GRAYSCALE, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "PIXELFORMAT_UNCOMPRESSED_GRAY_ALPHA", (void *)_cffi_const_PIXELFORMAT_UNCOMPRESSED_GRAY_ALPHA, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "PIXELFORMAT_UNCOMPRESSED_R32", (void *)_cffi_const_PIXELFORMAT_UNCOMPRESSED_R32, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "PIXELFORMAT_UNCOMPRESSED_R32G32B32", (void *)_cffi_const_PIXELFORMAT_UNCOMPRESSED_R32G32B32, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "PIXELFORMAT_UNCOMPRESSED_R32G32B32A32", (void *)_cffi_const_PIXELFORMAT_UNCOMPRESSED_R32G32B32A32, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "PIXELFORMAT_UNCOMPRESSED_R4G4B4A4", (void *)_cffi_const_PIXELFORMAT_UNCOMPRESSED_R4G4B4A4, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "PIXELFORMAT_UNCOMPRESSED_R5G5B5A1", (void *)_cffi_const_PIXELFORMAT_UNCOMPRESSED_R5G5B5A1, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "PIXELFORMAT_UNCOMPRESSED_R5G6B5", (void *)_cffi_const_PIXELFORMAT_UNCOMPRESSED_R5G6B5, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "PIXELFORMAT_UNCOMPRESSED_R8G8B8", (void *)_cffi_const_PIXELFORMAT_UNCOMPRESSED_R8G8B8, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "PIXELFORMAT_UNCOMPRESSED_R8G8B8A8", (void *)_cffi_const_PIXELFORMAT_UNCOMPRESSED_R8G8B8A8, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "PauseAudioStream", (void *)_cffi_f_PauseAudioStream, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 577), (void *)_cffi_d_PauseAudioStream }, + { "PauseMusicStream", (void *)_cffi_f_PauseMusicStream, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 862), (void *)_cffi_d_PauseMusicStream }, + { "PauseSound", (void *)_cffi_f_PauseSound, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 937), (void *)_cffi_d_PauseSound }, + { "PlayAudioStream", (void *)_cffi_f_PlayAudioStream, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 577), (void *)_cffi_d_PlayAudioStream }, + { "PlayMusicStream", (void *)_cffi_f_PlayMusicStream, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 862), (void *)_cffi_d_PlayMusicStream }, + { "PlaySound", (void *)_cffi_f_PlaySound, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 937), (void *)_cffi_d_PlaySound }, + { "PlaySoundMulti", (void *)_cffi_f_PlaySoundMulti, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 937), (void *)_cffi_d_PlaySoundMulti }, + { "RestoreWindow", (void *)_cffi_f_RestoreWindow, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 1295), (void *)_cffi_d_RestoreWindow }, + { "ResumeAudioStream", (void *)_cffi_f_ResumeAudioStream, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 577), (void *)_cffi_d_ResumeAudioStream }, + { "ResumeMusicStream", (void *)_cffi_f_ResumeMusicStream, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 862), (void *)_cffi_d_ResumeMusicStream }, + { "ResumeSound", (void *)_cffi_f_ResumeSound, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 937), (void *)_cffi_d_ResumeSound }, + { "SHADER_LOC_COLOR_AMBIENT", (void *)_cffi_const_SHADER_LOC_COLOR_AMBIENT, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "SHADER_LOC_COLOR_DIFFUSE", (void *)_cffi_const_SHADER_LOC_COLOR_DIFFUSE, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "SHADER_LOC_COLOR_SPECULAR", (void *)_cffi_const_SHADER_LOC_COLOR_SPECULAR, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "SHADER_LOC_MAP_ALBEDO", (void *)_cffi_const_SHADER_LOC_MAP_ALBEDO, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "SHADER_LOC_MAP_BRDF", (void *)_cffi_const_SHADER_LOC_MAP_BRDF, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "SHADER_LOC_MAP_CUBEMAP", (void *)_cffi_const_SHADER_LOC_MAP_CUBEMAP, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "SHADER_LOC_MAP_DIFFUSE", (void *)_cffi_const_SHADER_LOC_MAP_DIFFUSE, _CFFI_OP(_CFFI_OP_CONSTANT_INT, -1), (void *)0 }, + { "SHADER_LOC_MAP_EMISSION", (void *)_cffi_const_SHADER_LOC_MAP_EMISSION, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "SHADER_LOC_MAP_HEIGHT", (void *)_cffi_const_SHADER_LOC_MAP_HEIGHT, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "SHADER_LOC_MAP_IRRADIANCE", (void *)_cffi_const_SHADER_LOC_MAP_IRRADIANCE, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "SHADER_LOC_MAP_METALNESS", (void *)_cffi_const_SHADER_LOC_MAP_METALNESS, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "SHADER_LOC_MAP_NORMAL", (void *)_cffi_const_SHADER_LOC_MAP_NORMAL, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "SHADER_LOC_MAP_OCCLUSION", (void *)_cffi_const_SHADER_LOC_MAP_OCCLUSION, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "SHADER_LOC_MAP_PREFILTER", (void *)_cffi_const_SHADER_LOC_MAP_PREFILTER, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "SHADER_LOC_MAP_ROUGHNESS", (void *)_cffi_const_SHADER_LOC_MAP_ROUGHNESS, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "SHADER_LOC_MAP_SPECULAR", (void *)_cffi_const_SHADER_LOC_MAP_SPECULAR, _CFFI_OP(_CFFI_OP_CONSTANT_INT, -1), (void *)0 }, + { "SHADER_LOC_MATRIX_MODEL", (void *)_cffi_const_SHADER_LOC_MATRIX_MODEL, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "SHADER_LOC_MATRIX_MVP", (void *)_cffi_const_SHADER_LOC_MATRIX_MVP, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "SHADER_LOC_MATRIX_NORMAL", (void *)_cffi_const_SHADER_LOC_MATRIX_NORMAL, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "SHADER_LOC_MATRIX_PROJECTION", (void *)_cffi_const_SHADER_LOC_MATRIX_PROJECTION, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "SHADER_LOC_MATRIX_VIEW", (void *)_cffi_const_SHADER_LOC_MATRIX_VIEW, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "SHADER_LOC_VECTOR_VIEW", (void *)_cffi_const_SHADER_LOC_VECTOR_VIEW, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "SHADER_LOC_VERTEX_COLOR", (void *)_cffi_const_SHADER_LOC_VERTEX_COLOR, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "SHADER_LOC_VERTEX_NORMAL", (void *)_cffi_const_SHADER_LOC_VERTEX_NORMAL, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "SHADER_LOC_VERTEX_POSITION", (void *)_cffi_const_SHADER_LOC_VERTEX_POSITION, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "SHADER_LOC_VERTEX_TANGENT", (void *)_cffi_const_SHADER_LOC_VERTEX_TANGENT, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "SHADER_LOC_VERTEX_TEXCOORD01", (void *)_cffi_const_SHADER_LOC_VERTEX_TEXCOORD01, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "SHADER_LOC_VERTEX_TEXCOORD02", (void *)_cffi_const_SHADER_LOC_VERTEX_TEXCOORD02, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "SHADER_UNIFORM_FLOAT", (void *)_cffi_const_SHADER_UNIFORM_FLOAT, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "SHADER_UNIFORM_INT", (void *)_cffi_const_SHADER_UNIFORM_INT, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "SHADER_UNIFORM_IVEC2", (void *)_cffi_const_SHADER_UNIFORM_IVEC2, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "SHADER_UNIFORM_IVEC3", (void *)_cffi_const_SHADER_UNIFORM_IVEC3, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "SHADER_UNIFORM_IVEC4", (void *)_cffi_const_SHADER_UNIFORM_IVEC4, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "SHADER_UNIFORM_SAMPLER2D", (void *)_cffi_const_SHADER_UNIFORM_SAMPLER2D, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "SHADER_UNIFORM_VEC2", (void *)_cffi_const_SHADER_UNIFORM_VEC2, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "SHADER_UNIFORM_VEC3", (void *)_cffi_const_SHADER_UNIFORM_VEC3, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "SHADER_UNIFORM_VEC4", (void *)_cffi_const_SHADER_UNIFORM_VEC4, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "SaveFileData", (void *)_cffi_f_SaveFileData, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 523), (void *)_cffi_d_SaveFileData }, + { "SaveFileText", (void *)_cffi_f_SaveFileText, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 507), (void *)_cffi_d_SaveFileText }, + { "SaveStorageValue", (void *)_cffi_f_SaveStorageValue, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 547), (void *)_cffi_d_SaveStorageValue }, + { "SetAudioStreamBufferSizeDefault", (void *)_cffi_f_SetAudioStreamBufferSizeDefault, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 1207), (void *)_cffi_d_SetAudioStreamBufferSizeDefault }, + { "SetAudioStreamPitch", (void *)_cffi_f_SetAudioStreamPitch, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 580), (void *)_cffi_d_SetAudioStreamPitch }, + { "SetAudioStreamVolume", (void *)_cffi_f_SetAudioStreamVolume, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 580), (void *)_cffi_d_SetAudioStreamVolume }, + { "SetCameraAltControl", (void *)_cffi_f_SetCameraAltControl, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 1207), (void *)_cffi_d_SetCameraAltControl }, + { "SetCameraMode", (void *)_cffi_f_SetCameraMode, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 617), (void *)_cffi_d_SetCameraMode }, + { "SetCameraMoveControls", (void *)_cffi_f_SetCameraMoveControls, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1273), (void *)_cffi_d_SetCameraMoveControls }, + { "SetCameraPanControl", (void *)_cffi_f_SetCameraPanControl, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 1207), (void *)_cffi_d_SetCameraPanControl }, + { "SetCameraSmoothZoomControl", (void *)_cffi_f_SetCameraSmoothZoomControl, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 1207), (void *)_cffi_d_SetCameraSmoothZoomControl }, + { "SetClipboardText", (void *)_cffi_f_SetClipboardText, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 1187), (void *)_cffi_d_SetClipboardText }, + { "SetConfigFlags", (void *)_cffi_f_SetConfigFlags, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 1284), (void *)_cffi_d_SetConfigFlags }, + { "SetExitKey", (void *)_cffi_f_SetExitKey, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 1207), (void *)_cffi_d_SetExitKey }, + { "SetGamepadMappings", (void *)_cffi_f_SetGamepadMappings, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 504), (void *)_cffi_d_SetGamepadMappings }, + { "SetGesturesEnabled", (void *)_cffi_f_SetGesturesEnabled, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 1284), (void *)_cffi_d_SetGesturesEnabled }, + { "SetMasterVolume", (void *)_cffi_f_SetMasterVolume, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 1200), (void *)_cffi_d_SetMasterVolume }, + { "SetMaterialTexture", (void *)_cffi_f_SetMaterialTexture, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 792), (void *)_cffi_d_SetMaterialTexture }, + { "SetModelMeshMaterial", (void *)_cffi_f_SetModelMeshMaterial, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 828), (void *)_cffi_d_SetModelMeshMaterial }, + { "SetMouseCursor", (void *)_cffi_f_SetMouseCursor, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 1207), (void *)_cffi_d_SetMouseCursor }, + { "SetMouseOffset", (void *)_cffi_f_SetMouseOffset, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1218), (void *)_cffi_d_SetMouseOffset }, + { "SetMousePosition", (void *)_cffi_f_SetMousePosition, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1218), (void *)_cffi_d_SetMousePosition }, + { "SetMouseScale", (void *)_cffi_f_SetMouseScale, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1203), (void *)_cffi_d_SetMouseScale }, + { "SetMusicPitch", (void *)_cffi_f_SetMusicPitch, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 865), (void *)_cffi_d_SetMusicPitch }, + { "SetMusicVolume", (void *)_cffi_f_SetMusicVolume, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 865), (void *)_cffi_d_SetMusicVolume }, + { "SetPixelColor", (void *)_cffi_f_SetPixelColor, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1290), (void *)_cffi_d_SetPixelColor }, + { "SetShaderValue", (void *)_cffi_f_SetShaderValue, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 924), (void *)_cffi_d_SetShaderValue }, + { "SetShaderValueMatrix", (void *)_cffi_f_SetShaderValueMatrix, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 914), (void *)_cffi_d_SetShaderValueMatrix }, + { "SetShaderValueTexture", (void *)_cffi_f_SetShaderValueTexture, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 919), (void *)_cffi_d_SetShaderValueTexture }, + { "SetShaderValueV", (void *)_cffi_f_SetShaderValueV, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 930), (void *)_cffi_d_SetShaderValueV }, + { "SetShapesTexture", (void *)_cffi_f_SetShapesTexture, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 963), (void *)_cffi_d_SetShapesTexture }, + { "SetSoundPitch", (void *)_cffi_f_SetSoundPitch, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 940), (void *)_cffi_d_SetSoundPitch }, + { "SetSoundVolume", (void *)_cffi_f_SetSoundVolume, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 940), (void *)_cffi_d_SetSoundVolume }, + { "SetTargetFPS", (void *)_cffi_f_SetTargetFPS, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 1207), (void *)_cffi_d_SetTargetFPS }, + { "SetTextureFilter", (void *)_cffi_f_SetTextureFilter, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1030), (void *)_cffi_d_SetTextureFilter }, + { "SetTextureWrap", (void *)_cffi_f_SetTextureWrap, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1030), (void *)_cffi_d_SetTextureWrap }, + { "SetTraceLogLevel", (void *)_cffi_f_SetTraceLogLevel, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 1207), (void *)_cffi_d_SetTraceLogLevel }, + { "SetWindowIcon", (void *)_cffi_f_SetWindowIcon, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 789), (void *)_cffi_d_SetWindowIcon }, + { "SetWindowMinSize", (void *)_cffi_f_SetWindowMinSize, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1218), (void *)_cffi_d_SetWindowMinSize }, + { "SetWindowMonitor", (void *)_cffi_f_SetWindowMonitor, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 1207), (void *)_cffi_d_SetWindowMonitor }, + { "SetWindowPosition", (void *)_cffi_f_SetWindowPosition, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1218), (void *)_cffi_d_SetWindowPosition }, + { "SetWindowSize", (void *)_cffi_f_SetWindowSize, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1218), (void *)_cffi_d_SetWindowSize }, + { "SetWindowState", (void *)_cffi_f_SetWindowState, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 1284), (void *)_cffi_d_SetWindowState }, + { "SetWindowTitle", (void *)_cffi_f_SetWindowTitle, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 1187), (void *)_cffi_d_SetWindowTitle }, + { "ShowCursor", (void *)_cffi_f_ShowCursor, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 1295), (void *)_cffi_d_ShowCursor }, + { "StopAudioStream", (void *)_cffi_f_StopAudioStream, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 577), (void *)_cffi_d_StopAudioStream }, + { "StopMusicStream", (void *)_cffi_f_StopMusicStream, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 862), (void *)_cffi_d_StopMusicStream }, + { "StopSound", (void *)_cffi_f_StopSound, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 937), (void *)_cffi_d_StopSound }, + { "StopSoundMulti", (void *)_cffi_f_StopSoundMulti, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 1295), (void *)_cffi_d_StopSoundMulti }, + { "TEXTURE_FILTER_ANISOTROPIC_16X", (void *)_cffi_const_TEXTURE_FILTER_ANISOTROPIC_16X, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "TEXTURE_FILTER_ANISOTROPIC_4X", (void *)_cffi_const_TEXTURE_FILTER_ANISOTROPIC_4X, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "TEXTURE_FILTER_ANISOTROPIC_8X", (void *)_cffi_const_TEXTURE_FILTER_ANISOTROPIC_8X, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "TEXTURE_FILTER_BILINEAR", (void *)_cffi_const_TEXTURE_FILTER_BILINEAR, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "TEXTURE_FILTER_POINT", (void *)_cffi_const_TEXTURE_FILTER_POINT, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "TEXTURE_FILTER_TRILINEAR", (void *)_cffi_const_TEXTURE_FILTER_TRILINEAR, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "TEXTURE_WRAP_CLAMP", (void *)_cffi_const_TEXTURE_WRAP_CLAMP, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "TEXTURE_WRAP_MIRROR_CLAMP", (void *)_cffi_const_TEXTURE_WRAP_MIRROR_CLAMP, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "TEXTURE_WRAP_MIRROR_REPEAT", (void *)_cffi_const_TEXTURE_WRAP_MIRROR_REPEAT, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "TEXTURE_WRAP_REPEAT", (void *)_cffi_const_TEXTURE_WRAP_REPEAT, _CFFI_OP(_CFFI_OP_ENUM, -1), (void *)0 }, + { "TakeScreenshot", (void *)_cffi_f_TakeScreenshot, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 1187), (void *)_cffi_d_TakeScreenshot }, + { "TextAppend", (void *)_cffi_f_TextAppend, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1182), (void *)_cffi_d_TextAppend }, + { "TextCopy", (void *)_cffi_f_TextCopy, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 500), (void *)_cffi_d_TextCopy }, + { "TextFindIndex", (void *)_cffi_f_TextFindIndex, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 511), (void *)_cffi_d_TextFindIndex }, + { "TextFormat", (void *)_cffi_const_TextFormat, _CFFI_OP(_CFFI_OP_CONSTANT, 1330), (void *)0 }, + { "TextInsert", (void *)_cffi_f_TextInsert, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 340), (void *)_cffi_d_TextInsert }, + { "TextIsEqual", (void *)_cffi_f_TextIsEqual, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 511), (void *)_cffi_d_TextIsEqual }, + { "TextJoin", (void *)_cffi_f_TextJoin, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 354), (void *)_cffi_d_TextJoin }, + { "TextLength", (void *)_cffi_f_TextLength, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 565), (void *)_cffi_d_TextLength }, + { "TextReplace", (void *)_cffi_f_TextReplace, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 332), (void *)_cffi_d_TextReplace }, + { "TextSplit", (void *)_cffi_f_TextSplit, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 349), (void *)_cffi_d_TextSplit }, + { "TextSubtext", (void *)_cffi_f_TextSubtext, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 365), (void *)_cffi_d_TextSubtext }, + { "TextToInteger", (void *)_cffi_f_TextToInteger, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 504), (void *)_cffi_d_TextToInteger }, + { "TextToLower", (void *)_cffi_f_TextToLower, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 359), (void *)_cffi_d_TextToLower }, + { "TextToPascal", (void *)_cffi_f_TextToPascal, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 359), (void *)_cffi_d_TextToPascal }, + { "TextToUpper", (void *)_cffi_f_TextToUpper, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 359), (void *)_cffi_d_TextToUpper }, + { "TextToUtf8", (void *)_cffi_f_TextToUtf8, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 345), (void *)_cffi_d_TextToUtf8 }, + { "ToggleFullscreen", (void *)_cffi_f_ToggleFullscreen, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 1295), (void *)_cffi_d_ToggleFullscreen }, + { "TraceLog", (void *)_cffi_const_TraceLog, _CFFI_OP(_CFFI_OP_CONSTANT, 1344), (void *)0 }, + { "UnloadFileData", (void *)_cffi_f_UnloadFileData, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 1281), (void *)_cffi_d_UnloadFileData }, + { "UnloadFileText", (void *)_cffi_f_UnloadFileText, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 1281), (void *)_cffi_d_UnloadFileText }, + { "UnloadFont", (void *)_cffi_f_UnloadFont, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 631), (void *)_cffi_d_UnloadFont }, + { "UnloadFontData", (void *)_cffi_f_UnloadFontData, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 621), (void *)_cffi_d_UnloadFontData }, + { "UnloadImage", (void *)_cffi_f_UnloadImage, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 789), (void *)_cffi_d_UnloadImage }, + { "UnloadImageColors", (void *)_cffi_f_UnloadImageColors, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 625), (void *)_cffi_d_UnloadImageColors }, + { "UnloadImagePalette", (void *)_cffi_f_UnloadImagePalette, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 625), (void *)_cffi_d_UnloadImagePalette }, + { "UnloadMaterial", (void *)_cffi_f_UnloadMaterial, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 797), (void *)_cffi_d_UnloadMaterial }, + { "UnloadMesh", (void *)_cffi_f_UnloadMesh, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 807), (void *)_cffi_d_UnloadMesh }, + { "UnloadModel", (void *)_cffi_f_UnloadModel, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 833), (void *)_cffi_d_UnloadModel }, + { "UnloadModelAnimation", (void *)_cffi_f_UnloadModelAnimation, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 859), (void *)_cffi_d_UnloadModelAnimation }, + { "UnloadModelAnimations", (void *)_cffi_f_UnloadModelAnimations, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 855), (void *)_cffi_d_UnloadModelAnimations }, + { "UnloadModelKeepMeshes", (void *)_cffi_f_UnloadModelKeepMeshes, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 833), (void *)_cffi_d_UnloadModelKeepMeshes }, + { "UnloadMusicStream", (void *)_cffi_f_UnloadMusicStream, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 862), (void *)_cffi_d_UnloadMusicStream }, + { "UnloadRenderTexture", (void *)_cffi_f_UnloadRenderTexture, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 908), (void *)_cffi_d_UnloadRenderTexture }, + { "UnloadShader", (void *)_cffi_f_UnloadShader, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 911), (void *)_cffi_d_UnloadShader }, + { "UnloadSound", (void *)_cffi_f_UnloadSound, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 937), (void *)_cffi_d_UnloadSound }, + { "UnloadTexture", (void *)_cffi_f_UnloadTexture, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 952), (void *)_cffi_d_UnloadTexture }, + { "UnloadVrStereoConfig", (void *)_cffi_f_UnloadVrStereoConfig, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 1165), (void *)_cffi_d_UnloadVrStereoConfig }, + { "UnloadWave", (void *)_cffi_f_UnloadWave, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 1179), (void *)_cffi_d_UnloadWave }, + { "UnloadWaveSamples", (void *)_cffi_f_UnloadWaveSamples, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 1197), (void *)_cffi_d_UnloadWaveSamples }, + { "UpdateAudioStream", (void *)_cffi_f_UpdateAudioStream, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 584), (void *)_cffi_d_UpdateAudioStream }, + { "UpdateCamera", (void *)_cffi_f_UpdateCamera, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 596), (void *)_cffi_d_UpdateCamera }, + { "UpdateMeshBuffer", (void *)_cffi_f_UpdateMeshBuffer, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 821), (void *)_cffi_d_UpdateMeshBuffer }, + { "UpdateModelAnimation", (void *)_cffi_f_UpdateModelAnimation, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 836), (void *)_cffi_d_UpdateModelAnimation }, + { "UpdateMusicStream", (void *)_cffi_f_UpdateMusicStream, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 862), (void *)_cffi_d_UpdateMusicStream }, + { "UpdateSound", (void *)_cffi_f_UpdateSound, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 944), (void *)_cffi_d_UpdateSound }, + { "UpdateTexture", (void *)_cffi_f_UpdateTexture, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1040), (void *)_cffi_d_UpdateTexture }, + { "UpdateTextureRec", (void *)_cffi_f_UpdateTextureRec, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 990), (void *)_cffi_d_UpdateTextureRec }, + { "UploadMesh", (void *)_cffi_f_UploadMesh, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 803), (void *)_cffi_d_UploadMesh }, + { "WaveCopy", (void *)_cffi_f_WaveCopy, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_O, 314), (void *)_cffi_d_WaveCopy }, + { "WaveCrop", (void *)_cffi_f_WaveCrop, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1168), (void *)_cffi_d_WaveCrop }, + { "WaveFormat", (void *)_cffi_f_WaveFormat, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_V, 1173), (void *)_cffi_d_WaveFormat }, + { "WindowShouldClose", (void *)_cffi_f_WindowShouldClose, _CFFI_OP(_CFFI_OP_CPYTHON_BLTN_N, 551), (void *)_cffi_d_WindowShouldClose }, +}; + +static const struct _cffi_field_s _cffi_fields[] = { + { "buffer", offsetof(AudioStream, buffer), + sizeof(((AudioStream *)0)->buffer), + _CFFI_OP(_CFFI_OP_NOOP, 1339) }, + { "sampleRate", offsetof(AudioStream, sampleRate), + sizeof(((AudioStream *)0)->sampleRate), + _CFFI_OP(_CFFI_OP_NOOP, 1) }, + { "sampleSize", offsetof(AudioStream, sampleSize), + sizeof(((AudioStream *)0)->sampleSize), + _CFFI_OP(_CFFI_OP_NOOP, 1) }, + { "channels", offsetof(AudioStream, channels), + sizeof(((AudioStream *)0)->channels), + _CFFI_OP(_CFFI_OP_NOOP, 1) }, + { "name", offsetof(BoneInfo, name), + sizeof(((BoneInfo *)0)->name), + _CFFI_OP(_CFFI_OP_NOOP, 1331) }, + { "parent", offsetof(BoneInfo, parent), + sizeof(((BoneInfo *)0)->parent), + _CFFI_OP(_CFFI_OP_NOOP, 10) }, + { "min", offsetof(BoundingBox, min), + sizeof(((BoundingBox *)0)->min), + _CFFI_OP(_CFFI_OP_NOOP, 180) }, + { "max", offsetof(BoundingBox, max), + sizeof(((BoundingBox *)0)->max), + _CFFI_OP(_CFFI_OP_NOOP, 180) }, + { "offset", offsetof(Camera2D, offset), + sizeof(((Camera2D *)0)->offset), + _CFFI_OP(_CFFI_OP_NOOP, 226) }, + { "target", offsetof(Camera2D, target), + sizeof(((Camera2D *)0)->target), + _CFFI_OP(_CFFI_OP_NOOP, 226) }, + { "rotation", offsetof(Camera2D, rotation), + sizeof(((Camera2D *)0)->rotation), + _CFFI_OP(_CFFI_OP_NOOP, 31) }, + { "zoom", offsetof(Camera2D, zoom), + sizeof(((Camera2D *)0)->zoom), + _CFFI_OP(_CFFI_OP_NOOP, 31) }, + { "position", offsetof(Camera3D, position), + sizeof(((Camera3D *)0)->position), + _CFFI_OP(_CFFI_OP_NOOP, 180) }, + { "target", offsetof(Camera3D, target), + sizeof(((Camera3D *)0)->target), + _CFFI_OP(_CFFI_OP_NOOP, 180) }, + { "up", offsetof(Camera3D, up), + sizeof(((Camera3D *)0)->up), + _CFFI_OP(_CFFI_OP_NOOP, 180) }, + { "fovy", offsetof(Camera3D, fovy), + sizeof(((Camera3D *)0)->fovy), + _CFFI_OP(_CFFI_OP_NOOP, 31) }, + { "projection", offsetof(Camera3D, projection), + sizeof(((Camera3D *)0)->projection), + _CFFI_OP(_CFFI_OP_NOOP, 10) }, + { "value", offsetof(CharInfo, value), + sizeof(((CharInfo *)0)->value), + _CFFI_OP(_CFFI_OP_NOOP, 10) }, + { "offsetX", offsetof(CharInfo, offsetX), + sizeof(((CharInfo *)0)->offsetX), + _CFFI_OP(_CFFI_OP_NOOP, 10) }, + { "offsetY", offsetof(CharInfo, offsetY), + sizeof(((CharInfo *)0)->offsetY), + _CFFI_OP(_CFFI_OP_NOOP, 10) }, + { "advanceX", offsetof(CharInfo, advanceX), + sizeof(((CharInfo *)0)->advanceX), + _CFFI_OP(_CFFI_OP_NOOP, 10) }, + { "image", offsetof(CharInfo, image), + sizeof(((CharInfo *)0)->image), + _CFFI_OP(_CFFI_OP_NOOP, 17) }, + { "r", offsetof(Color, r), + sizeof(((Color *)0)->r), + _CFFI_OP(_CFFI_OP_NOOP, 1341) }, + { "g", offsetof(Color, g), + sizeof(((Color *)0)->g), + _CFFI_OP(_CFFI_OP_NOOP, 1341) }, + { "b", offsetof(Color, b), + sizeof(((Color *)0)->b), + _CFFI_OP(_CFFI_OP_NOOP, 1341) }, + { "a", offsetof(Color, a), + sizeof(((Color *)0)->a), + _CFFI_OP(_CFFI_OP_NOOP, 1341) }, + { "baseSize", offsetof(Font, baseSize), + sizeof(((Font *)0)->baseSize), + _CFFI_OP(_CFFI_OP_NOOP, 10) }, + { "charsCount", offsetof(Font, charsCount), + sizeof(((Font *)0)->charsCount), + _CFFI_OP(_CFFI_OP_NOOP, 10) }, + { "charsPadding", offsetof(Font, charsPadding), + sizeof(((Font *)0)->charsPadding), + _CFFI_OP(_CFFI_OP_NOOP, 10) }, + { "texture", offsetof(Font, texture), + sizeof(((Font *)0)->texture), + _CFFI_OP(_CFFI_OP_NOOP, 95) }, + { "recs", offsetof(Font, recs), + sizeof(((Font *)0)->recs), + _CFFI_OP(_CFFI_OP_NOOP, 1320) }, + { "chars", offsetof(Font, chars), + sizeof(((Font *)0)->chars), + _CFFI_OP(_CFFI_OP_NOOP, 622) }, + { "data", offsetof(Image, data), + sizeof(((Image *)0)->data), + _CFFI_OP(_CFFI_OP_NOOP, 45) }, + { "width", offsetof(Image, width), + sizeof(((Image *)0)->width), + _CFFI_OP(_CFFI_OP_NOOP, 10) }, + { "height", offsetof(Image, height), + sizeof(((Image *)0)->height), + _CFFI_OP(_CFFI_OP_NOOP, 10) }, + { "mipmaps", offsetof(Image, mipmaps), + sizeof(((Image *)0)->mipmaps), + _CFFI_OP(_CFFI_OP_NOOP, 10) }, + { "format", offsetof(Image, format), + sizeof(((Image *)0)->format), + _CFFI_OP(_CFFI_OP_NOOP, 10) }, + { "shader", offsetof(Material, shader), + sizeof(((Material *)0)->shader), + _CFFI_OP(_CFFI_OP_NOOP, 451) }, + { "maps", offsetof(Material, maps), + sizeof(((Material *)0)->maps), + _CFFI_OP(_CFFI_OP_NOOP, 1310) }, + { "params", offsetof(Material, params), + sizeof(((Material *)0)->params), + _CFFI_OP(_CFFI_OP_NOOP, 1336) }, + { "texture", offsetof(MaterialMap, texture), + sizeof(((MaterialMap *)0)->texture), + _CFFI_OP(_CFFI_OP_NOOP, 95) }, + { "color", offsetof(MaterialMap, color), + sizeof(((MaterialMap *)0)->color), + _CFFI_OP(_CFFI_OP_NOOP, 25) }, + { "value", offsetof(MaterialMap, value), + sizeof(((MaterialMap *)0)->value), + _CFFI_OP(_CFFI_OP_NOOP, 31) }, + { "m0", offsetof(Matrix, m0), + sizeof(((Matrix *)0)->m0), + _CFFI_OP(_CFFI_OP_NOOP, 31) }, + { "m4", offsetof(Matrix, m4), + sizeof(((Matrix *)0)->m4), + _CFFI_OP(_CFFI_OP_NOOP, 31) }, + { "m8", offsetof(Matrix, m8), + sizeof(((Matrix *)0)->m8), + _CFFI_OP(_CFFI_OP_NOOP, 31) }, + { "m12", offsetof(Matrix, m12), + sizeof(((Matrix *)0)->m12), + _CFFI_OP(_CFFI_OP_NOOP, 31) }, + { "m1", offsetof(Matrix, m1), + sizeof(((Matrix *)0)->m1), + _CFFI_OP(_CFFI_OP_NOOP, 31) }, + { "m5", offsetof(Matrix, m5), + sizeof(((Matrix *)0)->m5), + _CFFI_OP(_CFFI_OP_NOOP, 31) }, + { "m9", offsetof(Matrix, m9), + sizeof(((Matrix *)0)->m9), + _CFFI_OP(_CFFI_OP_NOOP, 31) }, + { "m13", offsetof(Matrix, m13), + sizeof(((Matrix *)0)->m13), + _CFFI_OP(_CFFI_OP_NOOP, 31) }, + { "m2", offsetof(Matrix, m2), + sizeof(((Matrix *)0)->m2), + _CFFI_OP(_CFFI_OP_NOOP, 31) }, + { "m6", offsetof(Matrix, m6), + sizeof(((Matrix *)0)->m6), + _CFFI_OP(_CFFI_OP_NOOP, 31) }, + { "m10", offsetof(Matrix, m10), + sizeof(((Matrix *)0)->m10), + _CFFI_OP(_CFFI_OP_NOOP, 31) }, + { "m14", offsetof(Matrix, m14), + sizeof(((Matrix *)0)->m14), + _CFFI_OP(_CFFI_OP_NOOP, 31) }, + { "m3", offsetof(Matrix, m3), + sizeof(((Matrix *)0)->m3), + _CFFI_OP(_CFFI_OP_NOOP, 31) }, + { "m7", offsetof(Matrix, m7), + sizeof(((Matrix *)0)->m7), + _CFFI_OP(_CFFI_OP_NOOP, 31) }, + { "m11", offsetof(Matrix, m11), + sizeof(((Matrix *)0)->m11), + _CFFI_OP(_CFFI_OP_NOOP, 31) }, + { "m15", offsetof(Matrix, m15), + sizeof(((Matrix *)0)->m15), + _CFFI_OP(_CFFI_OP_NOOP, 31) }, + { "vertexCount", offsetof(Mesh, vertexCount), + sizeof(((Mesh *)0)->vertexCount), + _CFFI_OP(_CFFI_OP_NOOP, 10) }, + { "triangleCount", offsetof(Mesh, triangleCount), + sizeof(((Mesh *)0)->triangleCount), + _CFFI_OP(_CFFI_OP_NOOP, 10) }, + { "vertices", offsetof(Mesh, vertices), + sizeof(((Mesh *)0)->vertices), + _CFFI_OP(_CFFI_OP_NOOP, 1198) }, + { "texcoords", offsetof(Mesh, texcoords), + sizeof(((Mesh *)0)->texcoords), + _CFFI_OP(_CFFI_OP_NOOP, 1198) }, + { "texcoords2", offsetof(Mesh, texcoords2), + sizeof(((Mesh *)0)->texcoords2), + _CFFI_OP(_CFFI_OP_NOOP, 1198) }, + { "normals", offsetof(Mesh, normals), + sizeof(((Mesh *)0)->normals), + _CFFI_OP(_CFFI_OP_NOOP, 1198) }, + { "tangents", offsetof(Mesh, tangents), + sizeof(((Mesh *)0)->tangents), + _CFFI_OP(_CFFI_OP_NOOP, 1198) }, + { "colors", offsetof(Mesh, colors), + sizeof(((Mesh *)0)->colors), + _CFFI_OP(_CFFI_OP_NOOP, 222) }, + { "indices", offsetof(Mesh, indices), + sizeof(((Mesh *)0)->indices), + _CFFI_OP(_CFFI_OP_NOOP, 1342) }, + { "animVertices", offsetof(Mesh, animVertices), + sizeof(((Mesh *)0)->animVertices), + _CFFI_OP(_CFFI_OP_NOOP, 1198) }, + { "animNormals", offsetof(Mesh, animNormals), + sizeof(((Mesh *)0)->animNormals), + _CFFI_OP(_CFFI_OP_NOOP, 1198) }, + { "boneIds", offsetof(Mesh, boneIds), + sizeof(((Mesh *)0)->boneIds), + _CFFI_OP(_CFFI_OP_NOOP, 12) }, + { "boneWeights", offsetof(Mesh, boneWeights), + sizeof(((Mesh *)0)->boneWeights), + _CFFI_OP(_CFFI_OP_NOOP, 1198) }, + { "vaoId", offsetof(Mesh, vaoId), + sizeof(((Mesh *)0)->vaoId), + _CFFI_OP(_CFFI_OP_NOOP, 1) }, + { "vboId", offsetof(Mesh, vboId), + sizeof(((Mesh *)0)->vboId), + _CFFI_OP(_CFFI_OP_NOOP, 558) }, + { "transform", offsetof(Model, transform), + sizeof(((Model *)0)->transform), + _CFFI_OP(_CFFI_OP_NOOP, 232) }, + { "meshCount", offsetof(Model, meshCount), + sizeof(((Model *)0)->meshCount), + _CFFI_OP(_CFFI_OP_NOOP, 10) }, + { "materialCount", offsetof(Model, materialCount), + sizeof(((Model *)0)->materialCount), + _CFFI_OP(_CFFI_OP_NOOP, 10) }, + { "meshes", offsetof(Model, meshes), + sizeof(((Model *)0)->meshes), + _CFFI_OP(_CFFI_OP_NOOP, 801) }, + { "materials", offsetof(Model, materials), + sizeof(((Model *)0)->materials), + _CFFI_OP(_CFFI_OP_NOOP, 793) }, + { "meshMaterial", offsetof(Model, meshMaterial), + sizeof(((Model *)0)->meshMaterial), + _CFFI_OP(_CFFI_OP_NOOP, 12) }, + { "boneCount", offsetof(Model, boneCount), + sizeof(((Model *)0)->boneCount), + _CFFI_OP(_CFFI_OP_NOOP, 10) }, + { "bones", offsetof(Model, bones), + sizeof(((Model *)0)->bones), + _CFFI_OP(_CFFI_OP_NOOP, 1298) }, + { "bindPose", offsetof(Model, bindPose), + sizeof(((Model *)0)->bindPose), + _CFFI_OP(_CFFI_OP_NOOP, 1327) }, + { "boneCount", offsetof(ModelAnimation, boneCount), + sizeof(((ModelAnimation *)0)->boneCount), + _CFFI_OP(_CFFI_OP_NOOP, 10) }, + { "frameCount", offsetof(ModelAnimation, frameCount), + sizeof(((ModelAnimation *)0)->frameCount), + _CFFI_OP(_CFFI_OP_NOOP, 10) }, + { "bones", offsetof(ModelAnimation, bones), + sizeof(((ModelAnimation *)0)->bones), + _CFFI_OP(_CFFI_OP_NOOP, 1298) }, + { "framePoses", offsetof(ModelAnimation, framePoses), + sizeof(((ModelAnimation *)0)->framePoses), + _CFFI_OP(_CFFI_OP_NOOP, 1326) }, + { "stream", offsetof(Music, stream), + sizeof(((Music *)0)->stream), + _CFFI_OP(_CFFI_OP_NOOP, 398) }, + { "sampleCount", offsetof(Music, sampleCount), + sizeof(((Music *)0)->sampleCount), + _CFFI_OP(_CFFI_OP_NOOP, 1) }, + { "looping", offsetof(Music, looping), + sizeof(((Music *)0)->looping), + _CFFI_OP(_CFFI_OP_NOOP, 10) }, + { "ctxType", offsetof(Music, ctxType), + sizeof(((Music *)0)->ctxType), + _CFFI_OP(_CFFI_OP_NOOP, 10) }, + { "ctxData", offsetof(Music, ctxData), + sizeof(((Music *)0)->ctxData), + _CFFI_OP(_CFFI_OP_NOOP, 45) }, + { "source", offsetof(NPatchInfo, source), + sizeof(((NPatchInfo *)0)->source), + _CFFI_OP(_CFFI_OP_NOOP, 92) }, + { "left", offsetof(NPatchInfo, left), + sizeof(((NPatchInfo *)0)->left), + _CFFI_OP(_CFFI_OP_NOOP, 10) }, + { "top", offsetof(NPatchInfo, top), + sizeof(((NPatchInfo *)0)->top), + _CFFI_OP(_CFFI_OP_NOOP, 10) }, + { "right", offsetof(NPatchInfo, right), + sizeof(((NPatchInfo *)0)->right), + _CFFI_OP(_CFFI_OP_NOOP, 10) }, + { "bottom", offsetof(NPatchInfo, bottom), + sizeof(((NPatchInfo *)0)->bottom), + _CFFI_OP(_CFFI_OP_NOOP, 10) }, + { "layout", offsetof(NPatchInfo, layout), + sizeof(((NPatchInfo *)0)->layout), + _CFFI_OP(_CFFI_OP_NOOP, 10) }, + { "position", offsetof(Ray, position), + sizeof(((Ray *)0)->position), + _CFFI_OP(_CFFI_OP_NOOP, 180) }, + { "direction", offsetof(Ray, direction), + sizeof(((Ray *)0)->direction), + _CFFI_OP(_CFFI_OP_NOOP, 180) }, + { "hit", offsetof(RayHitInfo, hit), + sizeof(((RayHitInfo *)0)->hit), + _CFFI_OP(_CFFI_OP_NOOP, 10) }, + { "distance", offsetof(RayHitInfo, distance), + sizeof(((RayHitInfo *)0)->distance), + _CFFI_OP(_CFFI_OP_NOOP, 31) }, + { "position", offsetof(RayHitInfo, position), + sizeof(((RayHitInfo *)0)->position), + _CFFI_OP(_CFFI_OP_NOOP, 180) }, + { "normal", offsetof(RayHitInfo, normal), + sizeof(((RayHitInfo *)0)->normal), + _CFFI_OP(_CFFI_OP_NOOP, 180) }, + { "x", offsetof(Rectangle, x), + sizeof(((Rectangle *)0)->x), + _CFFI_OP(_CFFI_OP_NOOP, 31) }, + { "y", offsetof(Rectangle, y), + sizeof(((Rectangle *)0)->y), + _CFFI_OP(_CFFI_OP_NOOP, 31) }, + { "width", offsetof(Rectangle, width), + sizeof(((Rectangle *)0)->width), + _CFFI_OP(_CFFI_OP_NOOP, 31) }, + { "height", offsetof(Rectangle, height), + sizeof(((Rectangle *)0)->height), + _CFFI_OP(_CFFI_OP_NOOP, 31) }, + { "id", offsetof(RenderTexture, id), + sizeof(((RenderTexture *)0)->id), + _CFFI_OP(_CFFI_OP_NOOP, 1) }, + { "texture", offsetof(RenderTexture, texture), + sizeof(((RenderTexture *)0)->texture), + _CFFI_OP(_CFFI_OP_NOOP, 95) }, + { "depth", offsetof(RenderTexture, depth), + sizeof(((RenderTexture *)0)->depth), + _CFFI_OP(_CFFI_OP_NOOP, 95) }, + { "id", offsetof(Shader, id), + sizeof(((Shader *)0)->id), + _CFFI_OP(_CFFI_OP_NOOP, 1) }, + { "locs", offsetof(Shader, locs), + sizeof(((Shader *)0)->locs), + _CFFI_OP(_CFFI_OP_NOOP, 12) }, + { "stream", offsetof(Sound, stream), + sizeof(((Sound *)0)->stream), + _CFFI_OP(_CFFI_OP_NOOP, 398) }, + { "sampleCount", offsetof(Sound, sampleCount), + sizeof(((Sound *)0)->sampleCount), + _CFFI_OP(_CFFI_OP_NOOP, 1) }, + { "id", offsetof(Texture, id), + sizeof(((Texture *)0)->id), + _CFFI_OP(_CFFI_OP_NOOP, 1) }, + { "width", offsetof(Texture, width), + sizeof(((Texture *)0)->width), + _CFFI_OP(_CFFI_OP_NOOP, 10) }, + { "height", offsetof(Texture, height), + sizeof(((Texture *)0)->height), + _CFFI_OP(_CFFI_OP_NOOP, 10) }, + { "mipmaps", offsetof(Texture, mipmaps), + sizeof(((Texture *)0)->mipmaps), + _CFFI_OP(_CFFI_OP_NOOP, 10) }, + { "format", offsetof(Texture, format), + sizeof(((Texture *)0)->format), + _CFFI_OP(_CFFI_OP_NOOP, 10) }, + { "translation", offsetof(Transform, translation), + sizeof(((Transform *)0)->translation), + _CFFI_OP(_CFFI_OP_NOOP, 180) }, + { "rotation", offsetof(Transform, rotation), + sizeof(((Transform *)0)->rotation), + _CFFI_OP(_CFFI_OP_NOOP, 34) }, + { "scale", offsetof(Transform, scale), + sizeof(((Transform *)0)->scale), + _CFFI_OP(_CFFI_OP_NOOP, 180) }, + { "x", offsetof(Vector2, x), + sizeof(((Vector2 *)0)->x), + _CFFI_OP(_CFFI_OP_NOOP, 31) }, + { "y", offsetof(Vector2, y), + sizeof(((Vector2 *)0)->y), + _CFFI_OP(_CFFI_OP_NOOP, 31) }, + { "x", offsetof(Vector3, x), + sizeof(((Vector3 *)0)->x), + _CFFI_OP(_CFFI_OP_NOOP, 31) }, + { "y", offsetof(Vector3, y), + sizeof(((Vector3 *)0)->y), + _CFFI_OP(_CFFI_OP_NOOP, 31) }, + { "z", offsetof(Vector3, z), + sizeof(((Vector3 *)0)->z), + _CFFI_OP(_CFFI_OP_NOOP, 31) }, + { "x", offsetof(Vector4, x), + sizeof(((Vector4 *)0)->x), + _CFFI_OP(_CFFI_OP_NOOP, 31) }, + { "y", offsetof(Vector4, y), + sizeof(((Vector4 *)0)->y), + _CFFI_OP(_CFFI_OP_NOOP, 31) }, + { "z", offsetof(Vector4, z), + sizeof(((Vector4 *)0)->z), + _CFFI_OP(_CFFI_OP_NOOP, 31) }, + { "w", offsetof(Vector4, w), + sizeof(((Vector4 *)0)->w), + _CFFI_OP(_CFFI_OP_NOOP, 31) }, + { "hResolution", offsetof(VrDeviceInfo, hResolution), + sizeof(((VrDeviceInfo *)0)->hResolution), + _CFFI_OP(_CFFI_OP_NOOP, 10) }, + { "vResolution", offsetof(VrDeviceInfo, vResolution), + sizeof(((VrDeviceInfo *)0)->vResolution), + _CFFI_OP(_CFFI_OP_NOOP, 10) }, + { "hScreenSize", offsetof(VrDeviceInfo, hScreenSize), + sizeof(((VrDeviceInfo *)0)->hScreenSize), + _CFFI_OP(_CFFI_OP_NOOP, 31) }, + { "vScreenSize", offsetof(VrDeviceInfo, vScreenSize), + sizeof(((VrDeviceInfo *)0)->vScreenSize), + _CFFI_OP(_CFFI_OP_NOOP, 31) }, + { "vScreenCenter", offsetof(VrDeviceInfo, vScreenCenter), + sizeof(((VrDeviceInfo *)0)->vScreenCenter), + _CFFI_OP(_CFFI_OP_NOOP, 31) }, + { "eyeToScreenDistance", offsetof(VrDeviceInfo, eyeToScreenDistance), + sizeof(((VrDeviceInfo *)0)->eyeToScreenDistance), + _CFFI_OP(_CFFI_OP_NOOP, 31) }, + { "lensSeparationDistance", offsetof(VrDeviceInfo, lensSeparationDistance), + sizeof(((VrDeviceInfo *)0)->lensSeparationDistance), + _CFFI_OP(_CFFI_OP_NOOP, 31) }, + { "interpupillaryDistance", offsetof(VrDeviceInfo, interpupillaryDistance), + sizeof(((VrDeviceInfo *)0)->interpupillaryDistance), + _CFFI_OP(_CFFI_OP_NOOP, 31) }, + { "lensDistortionValues", offsetof(VrDeviceInfo, lensDistortionValues), + sizeof(((VrDeviceInfo *)0)->lensDistortionValues), + _CFFI_OP(_CFFI_OP_NOOP, 1336) }, + { "chromaAbCorrection", offsetof(VrDeviceInfo, chromaAbCorrection), + sizeof(((VrDeviceInfo *)0)->chromaAbCorrection), + _CFFI_OP(_CFFI_OP_NOOP, 1336) }, + { "projection", offsetof(VrStereoConfig, projection), + sizeof(((VrStereoConfig *)0)->projection), + _CFFI_OP(_CFFI_OP_NOOP, 1313) }, + { "viewOffset", offsetof(VrStereoConfig, viewOffset), + sizeof(((VrStereoConfig *)0)->viewOffset), + _CFFI_OP(_CFFI_OP_NOOP, 1313) }, + { "leftLensCenter", offsetof(VrStereoConfig, leftLensCenter), + sizeof(((VrStereoConfig *)0)->leftLensCenter), + _CFFI_OP(_CFFI_OP_NOOP, 1334) }, + { "rightLensCenter", offsetof(VrStereoConfig, rightLensCenter), + sizeof(((VrStereoConfig *)0)->rightLensCenter), + _CFFI_OP(_CFFI_OP_NOOP, 1334) }, + { "leftScreenCenter", offsetof(VrStereoConfig, leftScreenCenter), + sizeof(((VrStereoConfig *)0)->leftScreenCenter), + _CFFI_OP(_CFFI_OP_NOOP, 1334) }, + { "rightScreenCenter", offsetof(VrStereoConfig, rightScreenCenter), + sizeof(((VrStereoConfig *)0)->rightScreenCenter), + _CFFI_OP(_CFFI_OP_NOOP, 1334) }, + { "scale", offsetof(VrStereoConfig, scale), + sizeof(((VrStereoConfig *)0)->scale), + _CFFI_OP(_CFFI_OP_NOOP, 1334) }, + { "scaleIn", offsetof(VrStereoConfig, scaleIn), + sizeof(((VrStereoConfig *)0)->scaleIn), + _CFFI_OP(_CFFI_OP_NOOP, 1334) }, + { "sampleCount", offsetof(Wave, sampleCount), + sizeof(((Wave *)0)->sampleCount), + _CFFI_OP(_CFFI_OP_NOOP, 1) }, + { "sampleRate", offsetof(Wave, sampleRate), + sizeof(((Wave *)0)->sampleRate), + _CFFI_OP(_CFFI_OP_NOOP, 1) }, + { "sampleSize", offsetof(Wave, sampleSize), + sizeof(((Wave *)0)->sampleSize), + _CFFI_OP(_CFFI_OP_NOOP, 1) }, + { "channels", offsetof(Wave, channels), + sizeof(((Wave *)0)->channels), + _CFFI_OP(_CFFI_OP_NOOP, 1) }, + { "data", offsetof(Wave, data), + sizeof(((Wave *)0)->data), + _CFFI_OP(_CFFI_OP_NOOP, 45) }, +}; + +static const struct _cffi_struct_union_s _cffi_struct_unions[] = { + { "AudioStream", 398, _CFFI_F_CHECK_FIELDS, + sizeof(AudioStream), offsetof(struct _cffi_align__AudioStream, y), 0, 4 }, + { "BoneInfo", 1299, _CFFI_F_CHECK_FIELDS, + sizeof(BoneInfo), offsetof(struct _cffi_align__BoneInfo, y), 4, 2 }, + { "BoundingBox", 401, _CFFI_F_CHECK_FIELDS, + sizeof(BoundingBox), offsetof(struct _cffi_align__BoundingBox, y), 6, 2 }, + { "Camera2D", 173, _CFFI_F_CHECK_FIELDS, + sizeof(Camera2D), offsetof(struct _cffi_align__Camera2D, y), 8, 4 }, + { "Camera3D", 176, _CFFI_F_CHECK_FIELDS, + sizeof(Camera3D), offsetof(struct _cffi_align__Camera3D, y), 12, 5 }, + { "CharInfo", 1302, _CFFI_F_CHECK_FIELDS, + sizeof(CharInfo), offsetof(struct _cffi_align__CharInfo, y), 17, 5 }, + { "Color", 25, _CFFI_F_CHECK_FIELDS, + sizeof(Color), offsetof(struct _cffi_align__Color, y), 22, 4 }, + { "Font", 81, _CFFI_F_CHECK_FIELDS, + sizeof(Font), offsetof(struct _cffi_align__Font, y), 26, 6 }, + { "Image", 17, _CFFI_F_CHECK_FIELDS, + sizeof(Image), offsetof(struct _cffi_align__Image, y), 32, 5 }, + { "Material", 798, _CFFI_F_CHECK_FIELDS, + sizeof(Material), offsetof(struct _cffi_align__Material, y), 37, 3 }, + { "MaterialMap", 1311, _CFFI_F_CHECK_FIELDS, + sizeof(MaterialMap), offsetof(struct _cffi_align__MaterialMap, y), 40, 3 }, + { "Matrix", 232, _CFFI_F_CHECK_FIELDS, + sizeof(Matrix), offsetof(struct _cffi_align__Matrix, y), 43, 16 }, + { "Mesh", 6, _CFFI_F_CHECK_FIELDS, + sizeof(Mesh), offsetof(struct _cffi_align__Mesh, y), 59, 15 }, + { "Model", 236, _CFFI_F_CHECK_FIELDS, + sizeof(Model), offsetof(struct _cffi_align__Model, y), 74, 9 }, + { "ModelAnimation", 426, _CFFI_F_CHECK_FIELDS, + sizeof(ModelAnimation), offsetof(struct _cffi_align__ModelAnimation, y), 83, 4 }, + { "Music", 385, _CFFI_F_CHECK_FIELDS, + sizeof(Music), offsetof(struct _cffi_align__Music, y), 87, 5 }, + { "NPatchInfo", 957, _CFFI_F_CHECK_FIELDS, + sizeof(NPatchInfo), offsetof(struct _cffi_align__NPatchInfo, y), 92, 6 }, + { "Ray", 230, _CFFI_F_CHECK_FIELDS, + sizeof(Ray), offsetof(struct _cffi_align__Ray, y), 98, 2 }, + { "RayHitInfo", 1319, _CFFI_F_CHECK_FIELDS, + sizeof(RayHitInfo), offsetof(struct _cffi_align__RayHitInfo, y), 100, 4 }, + { "Rectangle", 92, _CFFI_F_CHECK_FIELDS, + sizeof(Rectangle), offsetof(struct _cffi_align__Rectangle, y), 104, 4 }, + { "RenderTexture", 909, _CFFI_F_CHECK_FIELDS, + sizeof(RenderTexture), offsetof(struct _cffi_align__RenderTexture, y), 108, 3 }, + { "Shader", 451, _CFFI_F_CHECK_FIELDS, + sizeof(Shader), offsetof(struct _cffi_align__Shader, y), 111, 2 }, + { "Sound", 455, _CFFI_F_CHECK_FIELDS, + sizeof(Sound), offsetof(struct _cffi_align__Sound, y), 113, 2 }, + { "Texture", 95, _CFFI_F_CHECK_FIELDS, + sizeof(Texture), offsetof(struct _cffi_align__Texture, y), 115, 5 }, + { "Transform", 1328, _CFFI_F_CHECK_FIELDS, + sizeof(Transform), offsetof(struct _cffi_align__Transform, y), 120, 3 }, + { "Vector2", 226, _CFFI_F_CHECK_FIELDS, + sizeof(Vector2), offsetof(struct _cffi_align__Vector2, y), 123, 2 }, + { "Vector3", 180, _CFFI_F_CHECK_FIELDS, + sizeof(Vector3), offsetof(struct _cffi_align__Vector3, y), 125, 3 }, + { "Vector4", 34, _CFFI_F_CHECK_FIELDS, + sizeof(Vector4), offsetof(struct _cffi_align__Vector4, y), 128, 4 }, + { "VrDeviceInfo", 312, _CFFI_F_CHECK_FIELDS, + sizeof(VrDeviceInfo), offsetof(struct _cffi_align__VrDeviceInfo, y), 132, 10 }, + { "VrStereoConfig", 1166, _CFFI_F_CHECK_FIELDS, + sizeof(VrStereoConfig), offsetof(struct _cffi_align__VrStereoConfig, y), 142, 8 }, + { "Wave", 265, _CFFI_F_CHECK_FIELDS, + sizeof(Wave), offsetof(struct _cffi_align__Wave, y), 150, 5 }, + { "rAudioBuffer", 1340, _CFFI_F_OPAQUE, + (size_t)-1, -1, -1, 0 /* opaque */ }, +}; + +static const struct _cffi_enum_s _cffi_enums[] = { + { "$BlendMode", 1297, _cffi_prim_int(sizeof(BlendMode), ((BlendMode)-1) <= 0), + "BLEND_ALPHA,BLEND_ADDITIVE,BLEND_MULTIPLIED,BLEND_ADD_COLORS,BLEND_SUBTRACT_COLORS,BLEND_CUSTOM" }, + { "$CameraMode", 1300, _cffi_prim_int(sizeof(CameraMode), ((CameraMode)-1) <= 0), + "CAMERA_CUSTOM,CAMERA_FREE,CAMERA_ORBITAL,CAMERA_FIRST_PERSON,CAMERA_THIRD_PERSON" }, + { "$CameraProjection", 1301, _cffi_prim_int(sizeof(CameraProjection), ((CameraProjection)-1) <= 0), + "CAMERA_PERSPECTIVE,CAMERA_ORTHOGRAPHIC" }, + { "$ConfigFlags", 1303, _cffi_prim_int(sizeof(ConfigFlags), ((ConfigFlags)-1) <= 0), + "FLAG_VSYNC_HINT,FLAG_FULLSCREEN_MODE,FLAG_WINDOW_RESIZABLE,FLAG_WINDOW_UNDECORATED,FLAG_WINDOW_HIDDEN,FLAG_WINDOW_MINIMIZED,FLAG_WINDOW_MAXIMIZED,FLAG_WINDOW_UNFOCUSED,FLAG_WINDOW_TOPMOST,FLAG_WINDOW_ALWAYS_RUN,FLAG_WINDOW_TRANSPARENT,FLAG_WINDOW_HIGHDPI,FLAG_MSAA_4X_HINT,FLAG_INTERLACED_HINT" }, + { "$CubemapLayout", 1304, _cffi_prim_int(sizeof(CubemapLayout), ((CubemapLayout)-1) <= 0), + "CUBEMAP_LAYOUT_AUTO_DETECT,CUBEMAP_LAYOUT_LINE_VERTICAL,CUBEMAP_LAYOUT_LINE_HORIZONTAL,CUBEMAP_LAYOUT_CROSS_THREE_BY_FOUR,CUBEMAP_LAYOUT_CROSS_FOUR_BY_THREE,CUBEMAP_LAYOUT_PANORAMA" }, + { "$FontType", 1305, _cffi_prim_int(sizeof(FontType), ((FontType)-1) <= 0), + "FONT_DEFAULT,FONT_BITMAP,FONT_SDF" }, + { "$GamepadAxis", 1306, _cffi_prim_int(sizeof(GamepadAxis), ((GamepadAxis)-1) <= 0), + "GAMEPAD_AXIS_LEFT_X,GAMEPAD_AXIS_LEFT_Y,GAMEPAD_AXIS_RIGHT_X,GAMEPAD_AXIS_RIGHT_Y,GAMEPAD_AXIS_LEFT_TRIGGER,GAMEPAD_AXIS_RIGHT_TRIGGER" }, + { "$GamepadButton", 1307, _cffi_prim_int(sizeof(GamepadButton), ((GamepadButton)-1) <= 0), + "GAMEPAD_BUTTON_UNKNOWN,GAMEPAD_BUTTON_LEFT_FACE_UP,GAMEPAD_BUTTON_LEFT_FACE_RIGHT,GAMEPAD_BUTTON_LEFT_FACE_DOWN,GAMEPAD_BUTTON_LEFT_FACE_LEFT,GAMEPAD_BUTTON_RIGHT_FACE_UP,GAMEPAD_BUTTON_RIGHT_FACE_RIGHT,GAMEPAD_BUTTON_RIGHT_FACE_DOWN,GAMEPAD_BUTTON_RIGHT_FACE_LEFT,GAMEPAD_BUTTON_LEFT_TRIGGER_1,GAMEPAD_BUTTON_LEFT_TRIGGER_2,GAMEPAD_BUTTON_RIGHT_TRIGGER_1,GAMEPAD_BUTTON_RIGHT_TRIGGER_2,GAMEPAD_BUTTON_MIDDLE_LEFT,GAMEPAD_BUTTON_MIDDLE,GAMEPAD_BUTTON_MIDDLE_RIGHT,GAMEPAD_BUTTON_LEFT_THUMB,GAMEPAD_BUTTON_RIGHT_THUMB" }, + { "$Gestures", 1308, _cffi_prim_int(sizeof(Gestures), ((Gestures)-1) <= 0), + "GESTURE_NONE,GESTURE_TAP,GESTURE_DOUBLETAP,GESTURE_HOLD,GESTURE_DRAG,GESTURE_SWIPE_RIGHT,GESTURE_SWIPE_LEFT,GESTURE_SWIPE_UP,GESTURE_SWIPE_DOWN,GESTURE_PINCH_IN,GESTURE_PINCH_OUT" }, + { "$KeyboardKey", 1309, _cffi_prim_int(sizeof(KeyboardKey), ((KeyboardKey)-1) <= 0), + "KEY_NULL,KEY_APOSTROPHE,KEY_COMMA,KEY_MINUS,KEY_PERIOD,KEY_SLASH,KEY_ZERO,KEY_ONE,KEY_TWO,KEY_THREE,KEY_FOUR,KEY_FIVE,KEY_SIX,KEY_SEVEN,KEY_EIGHT,KEY_NINE,KEY_SEMICOLON,KEY_EQUAL,KEY_A,KEY_B,KEY_C,KEY_D,KEY_E,KEY_F,KEY_G,KEY_H,KEY_I,KEY_J,KEY_K,KEY_L,KEY_M,KEY_N,KEY_O,KEY_P,KEY_Q,KEY_R,KEY_S,KEY_T,KEY_U,KEY_V,KEY_W,KEY_X,KEY_Y,KEY_Z,KEY_SPACE,KEY_ESCAPE,KEY_ENTER,KEY_TAB,KEY_BACKSPACE,KEY_INSERT,KEY_DELETE,KEY_RIGHT,KEY_LEFT,KEY_DOWN,KEY_UP,KEY_PAGE_UP,KEY_PAGE_DOWN,KEY_HOME,KEY_END,KEY_CAPS_LOCK,KEY_SCROLL_LOCK,KEY_NUM_LOCK,KEY_PRINT_SCREEN,KEY_PAUSE,KEY_F1,KEY_F2,KEY_F3,KEY_F4,KEY_F5,KEY_F6,KEY_F7,KEY_F8,KEY_F9,KEY_F10,KEY_F11,KEY_F12,KEY_LEFT_SHIFT,KEY_LEFT_CONTROL,KEY_LEFT_ALT,KEY_LEFT_SUPER,KEY_RIGHT_SHIFT,KEY_RIGHT_CONTROL,KEY_RIGHT_ALT,KEY_RIGHT_SUPER,KEY_KB_MENU,KEY_LEFT_BRACKET,KEY_BACKSLASH,KEY_RIGHT_BRACKET,KEY_GRAVE,KEY_KP_0,KEY_KP_1,KEY_KP_2,KEY_KP_3,KEY_KP_4,KEY_KP_5,KEY_KP_6,KEY_KP_7,KEY_KP_8,KEY_KP_9,KEY_KP_DECIMAL,KEY_KP_DIVIDE,KEY_KP_MULTIPLY,KEY_KP_SUBTRACT,KEY_KP_ADD,KEY_KP_ENTER,KEY_KP_EQUAL,KEY_BACK,KEY_MENU,KEY_VOLUME_UP,KEY_VOLUME_DOWN" }, + { "$MaterialMapIndex", 1312, _cffi_prim_int(sizeof(MaterialMapIndex), ((MaterialMapIndex)-1) <= 0), + "MATERIAL_MAP_ALBEDO,MATERIAL_MAP_METALNESS,MATERIAL_MAP_NORMAL,MATERIAL_MAP_ROUGHNESS,MATERIAL_MAP_OCCLUSION,MATERIAL_MAP_EMISSION,MATERIAL_MAP_HEIGHT,MATERIAL_MAP_BRDG,MATERIAL_MAP_CUBEMAP,MATERIAL_MAP_IRRADIANCE,MATERIAL_MAP_PREFILTER" }, + { "$MouseButton", 1315, _cffi_prim_int(sizeof(MouseButton), ((MouseButton)-1) <= 0), + "MOUSE_LEFT_BUTTON,MOUSE_RIGHT_BUTTON,MOUSE_MIDDLE_BUTTON" }, + { "$MouseCursor", 1316, _cffi_prim_int(sizeof(MouseCursor), ((MouseCursor)-1) <= 0), + "MOUSE_CURSOR_DEFAULT,MOUSE_CURSOR_ARROW,MOUSE_CURSOR_IBEAM,MOUSE_CURSOR_CROSSHAIR,MOUSE_CURSOR_POINTING_HAND,MOUSE_CURSOR_RESIZE_EW,MOUSE_CURSOR_RESIZE_NS,MOUSE_CURSOR_RESIZE_NWSE,MOUSE_CURSOR_RESIZE_NESW,MOUSE_CURSOR_RESIZE_ALL,MOUSE_CURSOR_NOT_ALLOWED" }, + { "$NPatchLayout", 1317, _cffi_prim_int(sizeof(NPatchLayout), ((NPatchLayout)-1) <= 0), + "NPATCH_NINE_PATCH,NPATCH_THREE_PATCH_VERTICAL,NPATCH_THREE_PATCH_HORIZONTAL" }, + { "$PixelFormat", 1318, _cffi_prim_int(sizeof(PixelFormat), ((PixelFormat)-1) <= 0), + "PIXELFORMAT_UNCOMPRESSED_GRAYSCALE,PIXELFORMAT_UNCOMPRESSED_GRAY_ALPHA,PIXELFORMAT_UNCOMPRESSED_R5G6B5,PIXELFORMAT_UNCOMPRESSED_R8G8B8,PIXELFORMAT_UNCOMPRESSED_R5G5B5A1,PIXELFORMAT_UNCOMPRESSED_R4G4B4A4,PIXELFORMAT_UNCOMPRESSED_R8G8B8A8,PIXELFORMAT_UNCOMPRESSED_R32,PIXELFORMAT_UNCOMPRESSED_R32G32B32,PIXELFORMAT_UNCOMPRESSED_R32G32B32A32,PIXELFORMAT_COMPRESSED_DXT1_RGB,PIXELFORMAT_COMPRESSED_DXT1_RGBA,PIXELFORMAT_COMPRESSED_DXT3_RGBA,PIXELFORMAT_COMPRESSED_DXT5_RGBA,PIXELFORMAT_COMPRESSED_ETC1_RGB,PIXELFORMAT_COMPRESSED_ETC2_RGB,PIXELFORMAT_COMPRESSED_ETC2_EAC_RGBA,PIXELFORMAT_COMPRESSED_PVRT_RGB,PIXELFORMAT_COMPRESSED_PVRT_RGBA,PIXELFORMAT_COMPRESSED_ASTC_4x4_RGBA,PIXELFORMAT_COMPRESSED_ASTC_8x8_RGBA" }, + { "$ShaderLocationIndex", 1321, _cffi_prim_int(sizeof(ShaderLocationIndex), ((ShaderLocationIndex)-1) <= 0), + "SHADER_LOC_VERTEX_POSITION,SHADER_LOC_VERTEX_TEXCOORD01,SHADER_LOC_VERTEX_TEXCOORD02,SHADER_LOC_VERTEX_NORMAL,SHADER_LOC_VERTEX_TANGENT,SHADER_LOC_VERTEX_COLOR,SHADER_LOC_MATRIX_MVP,SHADER_LOC_MATRIX_VIEW,SHADER_LOC_MATRIX_PROJECTION,SHADER_LOC_MATRIX_MODEL,SHADER_LOC_MATRIX_NORMAL,SHADER_LOC_VECTOR_VIEW,SHADER_LOC_COLOR_DIFFUSE,SHADER_LOC_COLOR_SPECULAR,SHADER_LOC_COLOR_AMBIENT,SHADER_LOC_MAP_ALBEDO,SHADER_LOC_MAP_METALNESS,SHADER_LOC_MAP_NORMAL,SHADER_LOC_MAP_ROUGHNESS,SHADER_LOC_MAP_OCCLUSION,SHADER_LOC_MAP_EMISSION,SHADER_LOC_MAP_HEIGHT,SHADER_LOC_MAP_CUBEMAP,SHADER_LOC_MAP_IRRADIANCE,SHADER_LOC_MAP_PREFILTER,SHADER_LOC_MAP_BRDF" }, + { "$ShaderUniformDataType", 1322, _cffi_prim_int(sizeof(ShaderUniformDataType), ((ShaderUniformDataType)-1) <= 0), + "SHADER_UNIFORM_FLOAT,SHADER_UNIFORM_VEC2,SHADER_UNIFORM_VEC3,SHADER_UNIFORM_VEC4,SHADER_UNIFORM_INT,SHADER_UNIFORM_IVEC2,SHADER_UNIFORM_IVEC3,SHADER_UNIFORM_IVEC4,SHADER_UNIFORM_SAMPLER2D" }, + { "$TextureFilter", 1323, _cffi_prim_int(sizeof(TextureFilter), ((TextureFilter)-1) <= 0), + "TEXTURE_FILTER_POINT,TEXTURE_FILTER_BILINEAR,TEXTURE_FILTER_TRILINEAR,TEXTURE_FILTER_ANISOTROPIC_4X,TEXTURE_FILTER_ANISOTROPIC_8X,TEXTURE_FILTER_ANISOTROPIC_16X" }, + { "$TextureWrap", 1324, _cffi_prim_int(sizeof(TextureWrap), ((TextureWrap)-1) <= 0), + "TEXTURE_WRAP_REPEAT,TEXTURE_WRAP_CLAMP,TEXTURE_WRAP_MIRROR_REPEAT,TEXTURE_WRAP_MIRROR_CLAMP" }, + { "$TraceLogLevel", 1325, _cffi_prim_int(sizeof(TraceLogLevel), ((TraceLogLevel)-1) <= 0), + "LOG_ALL,LOG_TRACE,LOG_DEBUG,LOG_INFO,LOG_WARNING,LOG_ERROR,LOG_FATAL,LOG_NONE" }, +}; + +static const struct _cffi_typename_s _cffi_typenames[] = { + { "AudioStream", 398 }, + { "BlendMode", 1297 }, + { "BoneInfo", 1299 }, + { "BoundingBox", 401 }, + { "Camera", 176 }, + { "Camera2D", 173 }, + { "Camera3D", 176 }, + { "CameraMode", 1300 }, + { "CameraProjection", 1301 }, + { "CharInfo", 1302 }, + { "Color", 25 }, + { "ConfigFlags", 1303 }, + { "CubemapLayout", 1304 }, + { "Font", 81 }, + { "FontType", 1305 }, + { "GamepadAxis", 1306 }, + { "GamepadButton", 1307 }, + { "Gestures", 1308 }, + { "Image", 17 }, + { "KeyboardKey", 1309 }, + { "Material", 798 }, + { "MaterialMap", 1311 }, + { "MaterialMapIndex", 1312 }, + { "Matrix", 232 }, + { "Mesh", 6 }, + { "Model", 236 }, + { "ModelAnimation", 426 }, + { "MouseButton", 1315 }, + { "MouseCursor", 1316 }, + { "Music", 385 }, + { "NPatchInfo", 957 }, + { "NPatchLayout", 1317 }, + { "PixelFormat", 1318 }, + { "Quaternion", 34 }, + { "Ray", 230 }, + { "RayHitInfo", 1319 }, + { "Rectangle", 92 }, + { "RenderTexture", 909 }, + { "RenderTexture2D", 909 }, + { "Shader", 451 }, + { "ShaderLocationIndex", 1321 }, + { "ShaderUniformDataType", 1322 }, + { "Sound", 455 }, + { "Texture", 95 }, + { "Texture2D", 95 }, + { "TextureCubemap", 95 }, + { "TextureFilter", 1323 }, + { "TextureWrap", 1324 }, + { "TraceLogLevel", 1325 }, + { "Transform", 1328 }, + { "Vector2", 226 }, + { "Vector3", 180 }, + { "Vector4", 34 }, + { "VrDeviceInfo", 312 }, + { "VrStereoConfig", 1166 }, + { "Wave", 265 }, + { "rAudioBuffer", 1340 }, +}; + +static const struct _cffi_type_context_s _cffi_type_context = { + _cffi_types, + _cffi_globals, + _cffi_fields, + _cffi_struct_unions, + _cffi_enums, + _cffi_typenames, + 751, /* num_globals */ + 32, /* num_struct_unions */ + 20, /* num_enums */ + 57, /* num_typenames */ + NULL, /* no includes */ + 1346, /* num_types */ + 0, /* flags */ +}; + +#ifdef __GNUC__ +# pragma GCC visibility push(default) /* for -fvisibility= */ +#endif + +#ifdef PYPY_VERSION +PyMODINIT_FUNC +_cffi_pypyinit__raylib_cffi(const void *p[]) +{ + p[0] = (const void *)0x2601; + p[1] = &_cffi_type_context; +#if PY_MAJOR_VERSION >= 3 + return NULL; +#endif +} +# ifdef _MSC_VER + PyMODINIT_FUNC +# if PY_MAJOR_VERSION >= 3 + PyInit__raylib_cffi(void) { return NULL; } +# else + init_raylib_cffi(void) { } +# endif +# endif +#elif PY_MAJOR_VERSION >= 3 +PyMODINIT_FUNC +PyInit__raylib_cffi(void) +{ + return _cffi_init("raylib.static._raylib_cffi", 0x2601, &_cffi_type_context); +} +#else +PyMODINIT_FUNC +init_raylib_cffi(void) +{ + _cffi_init("raylib.static._raylib_cffi", 0x2601, &_cffi_type_context); +} +#endif + +#ifdef __GNUC__ +# pragma GCC visibility pop +#endif diff --git a/raylib/static/build.py b/raylib/static/build.py index 54b1acc..448a379 100644 --- a/raylib/static/build.py +++ b/raylib/static/build.py @@ -26,10 +26,10 @@ def build_windows(): ffibuilder.cdef(open("raylib/raylib_modified.h").read().replace('RLAPI ', '').replace('bool','int')) ffibuilder.set_source("raylib.static._raylib_cffi", """ - #include "../../raylib/raylib.h" + #include "../../../raylib/raylib.h" """, extra_link_args=['/NODEFAULTLIB:MSVCRTD'], - libraries=['raylib_static', 'gdi32', 'shell32', 'user32','OpenGL32', 'winmm'], + libraries=['raylib', 'gdi32', 'shell32', 'user32','OpenGL32', 'winmm'], ) if __name__ == "__main__": ffibuilder.compile(verbose=True) diff --git a/setup.py b/setup.py index 7f2ea3a..1a91a0e 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ class BinaryDistribution(Distribution): # This call to setup() does all the work setup( name="raylib", - version="3.5.0", + version="3.7.0", description="Python CFFI bindings for Raylib", long_description=README, long_description_content_type="text/markdown", @@ -34,7 +34,7 @@ setup( ], packages=["raylib", "raylib.dynamic", "raylib.static"], include_package_data=True, - install_requires=["cffi>=1.14.0","inflection"], + install_requires=["cffi>=1.14.5","inflection"], distclass=BinaryDistribution, cffi_modules=["raylib/static/build.py:ffibuilder"], # this would build libs whenever the module is installed, but we are distributing static libs instead )