Skip to content

Instantly share code, notes, and snippets.

@okuoku
Created June 6, 2015 19:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save okuoku/f9b465452b0aa9c49b8f to your computer and use it in GitHub Desktop.
Save okuoku/f9b465452b0aa9c49b8f to your computer and use it in GitHub Desktop.
Generated SDL2 binding for yuni
#include "SDL.h"
#include <yuniffi/stub/_top.h>
#define EXPORT_SDL_MAIN_NEEDED(k)\
YUNIFFI_EXPORTCLASS_CONST_SINT(k, "SDL_MAIN_NEEDED", SDL_MAIN_NEEDED)
#define EXPORT_SDL_ICONV_ERROR(k)\
YUNIFFI_EXPORTCLASS_CONST_UINT(k, "SDL_ICONV_ERROR", SDL_ICONV_ERROR)
#define EXPORT_SDL_ICONV_E2BIG(k)\
YUNIFFI_EXPORTCLASS_CONST_UINT(k, "SDL_ICONV_E2BIG", SDL_ICONV_E2BIG)
#define EXPORT_SDL_ICONV_EILSEQ(k)\
YUNIFFI_EXPORTCLASS_CONST_UINT(k, "SDL_ICONV_EILSEQ", SDL_ICONV_EILSEQ)
#define EXPORT_SDL_ICONV_EINVAL(k)\
YUNIFFI_EXPORTCLASS_CONST_UINT(k, "SDL_ICONV_EINVAL", SDL_ICONV_EINVAL)
#define EXPORT_SDL_FALSE(k)\
YUNIFFI_EXPORTCLASS_CONST_UINT(k, "SDL_FALSE", SDL_FALSE)
#define EXPORT_SDL_TRUE(k)\
YUNIFFI_EXPORTCLASS_CONST_UINT(k, "SDL_TRUE", SDL_TRUE)
#define EXPORT_SDL_INIT_TIMER(k)\
YUNIFFI_EXPORTCLASS_CONST_UINT(k, "SDL_INIT_TIMER", SDL_INIT_TIMER)
#define EXPORT_SDL_INIT_AUDIO(k)\
YUNIFFI_EXPORTCLASS_CONST_UINT(k, "SDL_INIT_AUDIO", SDL_INIT_AUDIO)
#define EXPORT_SDL_INIT_VIDEO(k)\
YUNIFFI_EXPORTCLASS_CONST_UINT(k, "SDL_INIT_VIDEO", SDL_INIT_VIDEO)
#define EXPORT_SDL_INIT_JOYSTICK(k)\
YUNIFFI_EXPORTCLASS_CONST_UINT(k, "SDL_INIT_JOYSTICK", SDL_INIT_JOYSTICK)
#define EXPORT_SDL_INIT_HAPTIC(k)\
YUNIFFI_EXPORTCLASS_CONST_UINT(k, "SDL_INIT_HAPTIC", SDL_INIT_HAPTIC)
#define EXPORT_SDL_INIT_GAMECONTROLLER(k)\
YUNIFFI_EXPORTCLASS_CONST_UINT(k, "SDL_INIT_GAMECONTROLLER", SDL_INIT_GAMECONTROLLER)
#define EXPORT_SDL_INIT_EVENTS(k)\
YUNIFFI_EXPORTCLASS_CONST_UINT(k, "SDL_INIT_EVENTS", SDL_INIT_EVENTS)
#define EXPORT_SDL_INIT_NOPARACHUTE(k)\
YUNIFFI_EXPORTCLASS_CONST_UINT(k, "SDL_INIT_NOPARACHUTE", SDL_INIT_NOPARACHUTE)
#define EXPORT_SDL_INIT_EVERYTHING(k)\
YUNIFFI_EXPORTCLASS_CONST_UINT(k, "SDL_INIT_EVERYTHING", SDL_INIT_EVERYTHING)
#define EXPORT_SDL_iconv_t(k)\
YUNIFFI_EXPORTCLASS_TYPE(k, "SDL_iconv_t", SDL_iconv_t)
#define EXPORT_Uint64(k)\
YUNIFFI_EXPORTCLASS_TYPE(k, "Uint64", Uint64)
#define EXPORT_Sint64(k)\
YUNIFFI_EXPORTCLASS_TYPE(k, "Sint64", Sint64)
#define EXPORT_Uint32(k)\
YUNIFFI_EXPORTCLASS_TYPE(k, "Uint32", Uint32)
#define EXPORT_Sint32(k)\
YUNIFFI_EXPORTCLASS_TYPE(k, "Sint32", Sint32)
#define EXPORT_Sint16(k)\
YUNIFFI_EXPORTCLASS_TYPE(k, "Sint16", Sint16)
#define EXPORT_Sint16(k)\
YUNIFFI_EXPORTCLASS_TYPE(k, "Sint16", Sint16)
#define EXPORT_Uint8(k)\
YUNIFFI_EXPORTCLASS_TYPE(k, "Uint8", Uint8)
#define EXPORT_Sint8(k)\
YUNIFFI_EXPORTCLASS_TYPE(k, "Sint8", Sint8)
#define EXPORT_SDL_bool(k)\
YUNIFFI_EXPORTCLASS_TYPE(k, "SDL_bool", SDL_bool)
#include <yuniffi/stub/_begin_constants.h>
YUNIFFI_C_BEGIN
YUNIFFI_EXPORTFUNC_BEGIN(SDL2_export_constants)
#ifdef SDL_MAIN_NEEDED
YUNIFFI_EXPORTFUNC_ENTRY(1,EXPORT_SDL_MAIN_NEEDED)
#endif /* SDL_MAIN_NEEDED */
YUNIFFI_EXPORTFUNC_ENTRY(2,EXPORT_SDL_ICONV_ERROR)
YUNIFFI_EXPORTFUNC_ENTRY(3,EXPORT_SDL_ICONV_E2BIG)
YUNIFFI_EXPORTFUNC_ENTRY(4,EXPORT_SDL_ICONV_EILSEQ)
YUNIFFI_EXPORTFUNC_ENTRY(5,EXPORT_SDL_ICONV_EINVAL)
YUNIFFI_EXPORTFUNC_ENTRY(6,EXPORT_SDL_FALSE)
YUNIFFI_EXPORTFUNC_ENTRY(7,EXPORT_SDL_TRUE)
YUNIFFI_EXPORTFUNC_ENTRY(8,EXPORT_SDL_INIT_TIMER)
YUNIFFI_EXPORTFUNC_ENTRY(9,EXPORT_SDL_INIT_AUDIO)
YUNIFFI_EXPORTFUNC_ENTRY(10,EXPORT_SDL_INIT_VIDEO)
YUNIFFI_EXPORTFUNC_ENTRY(11,EXPORT_SDL_INIT_JOYSTICK)
YUNIFFI_EXPORTFUNC_ENTRY(12,EXPORT_SDL_INIT_HAPTIC)
YUNIFFI_EXPORTFUNC_ENTRY(13,EXPORT_SDL_INIT_GAMECONTROLLER)
YUNIFFI_EXPORTFUNC_ENTRY(14,EXPORT_SDL_INIT_EVENTS)
YUNIFFI_EXPORTFUNC_ENTRY(15,EXPORT_SDL_INIT_NOPARACHUTE)
YUNIFFI_EXPORTFUNC_ENTRY(16,EXPORT_SDL_INIT_EVERYTHING)
YUNIFFI_EXPORTFUNC_ENTRY(17,EXPORT_SDL_iconv_t)
YUNIFFI_EXPORTFUNC_ENTRY(18,EXPORT_Uint64)
YUNIFFI_EXPORTFUNC_ENTRY(19,EXPORT_Sint64)
YUNIFFI_EXPORTFUNC_ENTRY(20,EXPORT_Uint32)
YUNIFFI_EXPORTFUNC_ENTRY(21,EXPORT_Sint32)
YUNIFFI_EXPORTFUNC_ENTRY(22,EXPORT_Sint16)
YUNIFFI_EXPORTFUNC_ENTRY(23,EXPORT_Sint16)
YUNIFFI_EXPORTFUNC_ENTRY(24,EXPORT_Uint8)
YUNIFFI_EXPORTFUNC_ENTRY(25,EXPORT_Sint8)
YUNIFFI_EXPORTFUNC_ENTRY(26,EXPORT_SDL_bool)
YUNIFFI_EXPORTFUNC_ENTRY_TERM(27)
YUNIFFI_EXPORTFUNC_END(SDL2_export_constants)
YUNIFFI_C_END
#include <yuniffi/stub/_begin_bridge.h>
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_iconv_string_forward0,in,in_size,out,out_size)
/* in[0] : tocode */
const char* const in0 = (const char*)YUNIWORD_REF_PTR(in,0);
/* in[1] : fromcode */
const char* const in1 = (const char*)YUNIWORD_REF_PTR(in,1);
/* in[2] : inbuf */
const char* const in2 = (const char*)YUNIWORD_REF_PTR(in,2);
/* in[3] : inbytesleft */
size_t const in3 = (size_t)YUNIWORD_REF_UINT(in,3);
/* out[0] : return value */
char* out0;
/* call */
out0 = (char*)SDL_iconv_string(in0,in1,in2,in3);
/* output */
YUNIWORD_SET_PTR(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_iconv_string_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_iconv_forward0,in,in_size,out,out_size)
/* in[0] : cd */
SDL_iconv_t const in0 = (SDL_iconv_t)YUNIWORD_REF_PTR(in,0);
/* in[1] : inbuf */
const char** const in1 = (const char**)YUNIWORD_REF_PTR(in,1);
/* in[2] : inbytesleft */
size_t* const in2 = (size_t*)YUNIWORD_REF_PTR(in,2);
/* in[3] : outbuf */
char** const in3 = (char**)YUNIWORD_REF_PTR(in,3);
/* in[4] : outbytesleft */
size_t* const in4 = (size_t*)YUNIWORD_REF_PTR(in,4);
/* out[0] : return value */
size_t out0;
/* call */
out0 = (size_t)SDL_iconv(in0,in1,in2,in3,in4);
/* output */
YUNIWORD_SET_UINT(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_iconv_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_iconv_close_forward0,in,in_size,out,out_size)
/* in[0] : cd */
SDL_iconv_t const in0 = (SDL_iconv_t)YUNIWORD_REF_PTR(in,0);
/* out[0] : return value */
int out0;
/* call */
out0 = (int)SDL_iconv_close(in0);
/* output */
YUNIWORD_SET_SINT(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_iconv_close_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_iconv_open_forward0,in,in_size,out,out_size)
/* in[0] : tocode */
const char* const in0 = (const char*)YUNIWORD_REF_PTR(in,0);
/* in[1] : fromcode */
const char* const in1 = (const char*)YUNIWORD_REF_PTR(in,1);
/* out[0] : return value */
SDL_iconv_t out0;
/* call */
out0 = (SDL_iconv_t)SDL_iconv_open(in0,in1);
/* output */
YUNIWORD_SET_PTR(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_iconv_open_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_sqrt_forward0,in,in_size,out,out_size)
/* in[0] : x */
double const in0 = (double)YUNIWORD_REF_DOUBLE(in,0);
/* out[0] : return value */
double out0;
/* call */
out0 = (double)SDL_sqrt(in0);
/* output */
YUNIWORD_SET_DOUBLE(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_sqrt_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_sinf_forward0,in,in_size,out,out_size)
/* in[0] : x */
double const in0 = (double)YUNIWORD_REF_DOUBLE(in,0);
/* out[0] : return value */
float out0;
/* call */
out0 = (float)SDL_sinf(in0);
/* output */
YUNIWORD_SET_DOUBLE(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_sinf_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_sin_forward0,in,in_size,out,out_size)
/* in[0] : x */
double const in0 = (double)YUNIWORD_REF_DOUBLE(in,0);
/* out[0] : return value */
double out0;
/* call */
out0 = (double)SDL_sin(in0);
/* output */
YUNIWORD_SET_DOUBLE(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_sin_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_scalbn_forward0,in,in_size,out,out_size)
/* in[0] : x */
double const in0 = (double)YUNIWORD_REF_DOUBLE(in,0);
/* in[1] : n */
int const in1 = (int)YUNIWORD_REF_SINT(in,1);
/* out[0] : return value */
double out0;
/* call */
out0 = (double)SDL_scalbn(in0,in1);
/* output */
YUNIWORD_SET_DOUBLE(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_scalbn_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_pow_forward0,in,in_size,out,out_size)
/* in[0] : x */
double const in0 = (double)YUNIWORD_REF_DOUBLE(in,0);
/* in[1] : y */
double const in1 = (double)YUNIWORD_REF_DOUBLE(in,1);
/* out[0] : return value */
double out0;
/* call */
out0 = (double)SDL_pow(in0,in1);
/* output */
YUNIWORD_SET_DOUBLE(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_pow_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_log_forward0,in,in_size,out,out_size)
/* in[0] : x */
double const in0 = (double)YUNIWORD_REF_DOUBLE(in,0);
/* out[0] : return value */
double out0;
/* call */
out0 = (double)SDL_log(in0);
/* output */
YUNIWORD_SET_DOUBLE(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_log_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_floor_forward0,in,in_size,out,out_size)
/* in[0] : x */
double const in0 = (double)YUNIWORD_REF_DOUBLE(in,0);
/* out[0] : return value */
double out0;
/* call */
out0 = (double)SDL_floor(in0);
/* output */
YUNIWORD_SET_DOUBLE(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_floor_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_fabs_forward0,in,in_size,out,out_size)
/* in[0] : x */
double const in0 = (double)YUNIWORD_REF_DOUBLE(in,0);
/* out[0] : return value */
double out0;
/* call */
out0 = (double)SDL_fabs(in0);
/* output */
YUNIWORD_SET_DOUBLE(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_fabs_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_cosf_forward0,in,in_size,out,out_size)
/* in[0] : x */
float const in0 = (float)YUNIWORD_REF_DOUBLE(in,0);
/* out[0] : return value */
float out0;
/* call */
out0 = (float)SDL_cosf(in0);
/* output */
YUNIWORD_SET_DOUBLE(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_cosf_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_cos_forward0,in,in_size,out,out_size)
/* in[0] : x */
double const in0 = (double)YUNIWORD_REF_DOUBLE(in,0);
/* out[0] : return value */
double out0;
/* call */
out0 = (double)SDL_cos(in0);
/* output */
YUNIWORD_SET_DOUBLE(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_cos_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_copysign_forward0,in,in_size,out,out_size)
/* in[0] : x */
double const in0 = (double)YUNIWORD_REF_DOUBLE(in,0);
/* in[1] : y */
double const in1 = (double)YUNIWORD_REF_DOUBLE(in,1);
/* out[0] : return value */
double out0;
/* call */
out0 = (double)SDL_copysign(in0,in1);
/* output */
YUNIWORD_SET_DOUBLE(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_copysign_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_ceil_forward0,in,in_size,out,out_size)
/* in[0] : x */
double const in0 = (double)YUNIWORD_REF_DOUBLE(in,0);
/* out[0] : return value */
double out0;
/* call */
out0 = (double)SDL_ceil(in0);
/* output */
YUNIWORD_SET_DOUBLE(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_ceil_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_atan2_forward0,in,in_size,out,out_size)
/* in[0] : x */
double const in0 = (double)YUNIWORD_REF_DOUBLE(in,0);
/* in[1] : y */
double const in1 = (double)YUNIWORD_REF_DOUBLE(in,1);
/* out[0] : return value */
double out0;
/* call */
out0 = (double)SDL_atan2(in0,in1);
/* output */
YUNIWORD_SET_DOUBLE(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_atan2_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_atan_forward0,in,in_size,out,out_size)
/* in[0] : x */
double const in0 = (double)YUNIWORD_REF_DOUBLE(in,0);
/* out[0] : return value */
double out0;
/* call */
out0 = (double)SDL_atan(in0);
/* output */
YUNIWORD_SET_DOUBLE(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_atan_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_asin_forward0,in,in_size,out,out_size)
/* in[0] : x */
double const in0 = (double)YUNIWORD_REF_DOUBLE(in,0);
/* out[0] : return value */
double out0;
/* call */
out0 = (double)SDL_asin(in0);
/* output */
YUNIWORD_SET_DOUBLE(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_asin_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_acos_forward0,in,in_size,out,out_size)
/* in[0] : x */
double const in0 = (double)YUNIWORD_REF_DOUBLE(in,0);
/* out[0] : return value */
double out0;
/* call */
out0 = (double)SDL_acos(in0);
/* output */
YUNIWORD_SET_DOUBLE(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_acos_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_strncasecmp_forward0,in,in_size,out,out_size)
/* in[0] : str1 */
char* const in0 = (char*)YUNIWORD_REF_PTR(in,0);
/* in[1] : str2 */
const char* const in1 = (const char*)YUNIWORD_REF_PTR(in,1);
/* in[2] : len */
size_t const in2 = (size_t)YUNIWORD_REF_UINT(in,2);
/* out[0] : return value */
int out0;
/* call */
out0 = (int)SDL_strncasecmp(in0,in1,in2);
/* output */
YUNIWORD_SET_SINT(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_strncasecmp_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_strcasecmp_forward0,in,in_size,out,out_size)
/* in[0] : str1 */
const char* const in0 = (const char*)YUNIWORD_REF_PTR(in,0);
/* in[1] : str2 */
const char* const in1 = (const char*)YUNIWORD_REF_PTR(in,1);
/* out[0] : return value */
int out0;
/* call */
out0 = (int)SDL_strcasecmp(in0,in1);
/* output */
YUNIWORD_SET_SINT(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_strcasecmp_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_strncmp_forward0,in,in_size,out,out_size)
/* in[0] : str1 */
const char* const in0 = (const char*)YUNIWORD_REF_PTR(in,0);
/* in[1] : str2 */
const char* const in1 = (const char*)YUNIWORD_REF_PTR(in,1);
/* in[2] : maxlen */
size_t const in2 = (size_t)YUNIWORD_REF_UINT(in,2);
/* out[0] : return value */
int out0;
/* call */
out0 = (int)SDL_strncmp(in0,in1,in2);
/* output */
YUNIWORD_SET_SINT(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_strncmp_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_strcmp_forward0,in,in_size,out,out_size)
/* in[0] : str1 */
const char* const in0 = (const char*)YUNIWORD_REF_PTR(in,0);
/* in[1] : str2 */
const char* const in1 = (const char*)YUNIWORD_REF_PTR(in,1);
/* out[0] : return value */
int out0;
/* call */
out0 = (int)SDL_strcmp(in0,in1);
/* output */
YUNIWORD_SET_SINT(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_strcmp_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_strtod_forward0,in,in_size,out,out_size)
/* in[0] : str */
const char* const in0 = (const char*)YUNIWORD_REF_PTR(in,0);
/* in[1] : endp */
char** const in1 = (char**)YUNIWORD_REF_PTR(in,1);
/* out[0] : return value */
double out0;
/* call */
out0 = (double)SDL_strtod(in0,in1);
/* output */
YUNIWORD_SET_DOUBLE(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_strtod_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_strtoull_forward0,in,in_size,out,out_size)
/* in[0] : str */
const char* const in0 = (const char*)YUNIWORD_REF_PTR(in,0);
/* in[1] : endp */
char** const in1 = (char**)YUNIWORD_REF_PTR(in,1);
/* in[2] : base */
int const in2 = (int)YUNIWORD_REF_SINT(in,2);
/* out[0] : return value */
Uint64 out0;
/* call */
out0 = (Uint64)SDL_strtoull(in0,in1,in2);
/* output */
YUNIWORD_SET_UINT(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_strtoull_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_strtoll_forward0,in,in_size,out,out_size)
/* in[0] : str */
const char* const in0 = (const char*)YUNIWORD_REF_PTR(in,0);
/* in[1] : endp */
char** const in1 = (char**)YUNIWORD_REF_PTR(in,1);
/* in[2] : base */
int const in2 = (int)YUNIWORD_REF_SINT(in,2);
/* out[0] : return value */
Sint64 out0;
/* call */
out0 = (Sint64)SDL_strtoll(in0,in1,in2);
/* output */
YUNIWORD_SET_SINT(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_strtoll_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_strtoul_forward0,in,in_size,out,out_size)
/* in[0] : str */
const char* const in0 = (const char*)YUNIWORD_REF_PTR(in,0);
/* in[1] : endp */
char** const in1 = (char**)YUNIWORD_REF_PTR(in,1);
/* in[2] : base */
int const in2 = (int)YUNIWORD_REF_SINT(in,2);
/* out[0] : return value */
unsigned long out0;
/* call */
out0 = (unsigned long)SDL_strtoul(in0,in1,in2);
/* output */
YUNIWORD_SET_UINT(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_strtoul_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_strtol_forward0,in,in_size,out,out_size)
/* in[0] : str */
const char* const in0 = (const char*)YUNIWORD_REF_PTR(in,0);
/* in[1] : endp */
char** const in1 = (char**)YUNIWORD_REF_PTR(in,1);
/* in[2] : base */
int const in2 = (int)YUNIWORD_REF_SINT(in,2);
/* out[0] : return value */
long out0;
/* call */
out0 = (long)SDL_strtol(in0,in1,in2);
/* output */
YUNIWORD_SET_SINT(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_strtol_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_atof_forward0,in,in_size,out,out_size)
/* in[0] : str */
const char* const in0 = (const char*)YUNIWORD_REF_PTR(in,0);
/* out[0] : return value */
double out0;
/* call */
out0 = (double)SDL_atof(in0);
/* output */
YUNIWORD_SET_DOUBLE(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_atof_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_atoi_forward0,in,in_size,out,out_size)
/* in[0] : str */
const char* const in0 = (const char*)YUNIWORD_REF_PTR(in,0);
/* out[0] : return value */
int out0;
/* call */
out0 = (int)SDL_atoi(in0);
/* output */
YUNIWORD_SET_SINT(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_atoi_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_ulltoa_forward0,in,in_size,out,out_size)
/* in[0] : value */
Uint64 const in0 = (Uint64)YUNIWORD_REF_UINT(in,0);
/* in[1] : str */
char* const in1 = (char*)YUNIWORD_REF_PTR(in,1);
/* in[2] : radix */
int const in2 = (int)YUNIWORD_REF_SINT(in,2);
/* out[0] : return value */
char* out0;
/* call */
out0 = (char*)SDL_ulltoa(in0,in1,in2);
/* output */
YUNIWORD_SET_PTR(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_ulltoa_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_lltoa_forward0,in,in_size,out,out_size)
/* in[0] : value */
Sint64 const in0 = (Sint64)YUNIWORD_REF_SINT(in,0);
/* in[1] : str */
char* const in1 = (char*)YUNIWORD_REF_PTR(in,1);
/* in[2] : radix */
int const in2 = (int)YUNIWORD_REF_SINT(in,2);
/* out[0] : return value */
char* out0;
/* call */
out0 = (char*)SDL_lltoa(in0,in1,in2);
/* output */
YUNIWORD_SET_PTR(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_lltoa_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_ultoa_forward0,in,in_size,out,out_size)
/* in[0] : value */
unsigned long const in0 = (unsigned long)YUNIWORD_REF_UINT(in,0);
/* in[1] : str */
char* const in1 = (char*)YUNIWORD_REF_PTR(in,1);
/* in[2] : radix */
int const in2 = (int)YUNIWORD_REF_SINT(in,2);
/* out[0] : return value */
char* out0;
/* call */
out0 = (char*)SDL_ultoa(in0,in1,in2);
/* output */
YUNIWORD_SET_PTR(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_ultoa_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_ltoa_forward0,in,in_size,out,out_size)
/* in[0] : value */
long const in0 = (long)YUNIWORD_REF_SINT(in,0);
/* in[1] : str */
char* const in1 = (char*)YUNIWORD_REF_PTR(in,1);
/* in[2] : radix */
int const in2 = (int)YUNIWORD_REF_SINT(in,2);
/* out[0] : return value */
char* out0;
/* call */
out0 = (char*)SDL_ltoa(in0,in1,in2);
/* output */
YUNIWORD_SET_PTR(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_ltoa_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_uitoa_forward0,in,in_size,out,out_size)
/* in[0] : value */
unsigned int const in0 = (unsigned int)YUNIWORD_REF_UINT(in,0);
/* in[1] : str */
char* const in1 = (char*)YUNIWORD_REF_PTR(in,1);
/* in[2] : radix */
int const in2 = (int)YUNIWORD_REF_SINT(in,2);
/* out[0] : return value */
char* out0;
/* call */
out0 = (char*)SDL_uitoa(in0,in1,in2);
/* output */
YUNIWORD_SET_PTR(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_uitoa_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_itoa_forward0,in,in_size,out,out_size)
/* in[0] : value */
int const in0 = (int)YUNIWORD_REF_SINT(in,0);
/* in[1] : str */
char* const in1 = (char*)YUNIWORD_REF_PTR(in,1);
/* in[2] : radix */
int const in2 = (int)YUNIWORD_REF_SINT(in,2);
/* out[0] : return value */
char* out0;
/* call */
out0 = (char*)SDL_itoa(in0,in1,in2);
/* output */
YUNIWORD_SET_PTR(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_itoa_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_strstr_forward0,in,in_size,out,out_size)
/* in[0] : haystack */
const char* const in0 = (const char*)YUNIWORD_REF_PTR(in,0);
/* in[1] : needle */
const char* const in1 = (const char*)YUNIWORD_REF_PTR(in,1);
/* out[0] : return value */
char* out0;
/* call */
out0 = (char*)SDL_strstr(in0,in1);
/* output */
YUNIWORD_SET_PTR(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_strstr_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_strrchr_forward0,in,in_size,out,out_size)
/* in[0] : str */
const char* const in0 = (const char*)YUNIWORD_REF_PTR(in,0);
/* in[1] : c */
int const in1 = (int)YUNIWORD_REF_SINT(in,1);
/* out[0] : return value */
char* out0;
/* call */
out0 = (char*)SDL_strrchr(in0,in1);
/* output */
YUNIWORD_SET_PTR(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_strrchr_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_strchr_forward0,in,in_size,out,out_size)
/* in[0] : str */
const char* const in0 = (const char*)YUNIWORD_REF_PTR(in,0);
/* in[1] : c */
int const in1 = (int)YUNIWORD_REF_SINT(in,1);
/* out[0] : return value */
char* out0;
/* call */
out0 = (char*)SDL_strchr(in0,in1);
/* output */
YUNIWORD_SET_PTR(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_strchr_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_strlwr_forward0,in,in_size,out,out_size)
/* in[0] : str */
char* const in0 = (char*)YUNIWORD_REF_PTR(in,0);
/* out[0] : return value */
char* out0;
/* call */
out0 = (char*)SDL_strlwr(in0);
/* output */
YUNIWORD_SET_PTR(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_strlwr_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_strupr_forward0,in,in_size,out,out_size)
/* in[0] : str */
char* const in0 = (char*)YUNIWORD_REF_PTR(in,0);
/* out[0] : return value */
char* out0;
/* call */
out0 = (char*)SDL_strupr(in0);
/* output */
YUNIWORD_SET_PTR(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_strupr_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_strrev_forward0,in,in_size,out,out_size)
/* in[0] : str */
char* const in0 = (char*)YUNIWORD_REF_PTR(in,0);
/* out[0] : return value */
char* out0;
/* call */
out0 = (char*)SDL_strrev(in0);
/* output */
YUNIWORD_SET_PTR(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_strrev_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_strdup_forward0,in,in_size,out,out_size)
/* in[0] : str */
const char* const in0 = (const char*)YUNIWORD_REF_PTR(in,0);
/* out[0] : return value */
char* out0;
/* call */
out0 = (char*)SDL_strdup(in0);
/* output */
YUNIWORD_SET_PTR(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_strdup_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_strlcat_forward0,in,in_size,out,out_size)
/* in[0] : dst */
char* const in0 = (char*)YUNIWORD_REF_PTR(in,0);
/* in[1] : src */
const char* const in1 = (const char*)YUNIWORD_REF_PTR(in,1);
/* in[2] : maxlen */
size_t const in2 = (size_t)YUNIWORD_REF_UINT(in,2);
/* out[0] : return value */
size_t out0;
/* call */
out0 = (size_t)SDL_strlcat(in0,in1,in2);
/* output */
YUNIWORD_SET_UINT(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_strlcat_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_utf8strlcpy_forward0,in,in_size,out,out_size)
/* in[0] : dst */
char* const in0 = (char*)YUNIWORD_REF_PTR(in,0);
/* in[1] : src */
const char* const in1 = (const char*)YUNIWORD_REF_PTR(in,1);
/* in[2] : dst_bytes */
size_t const in2 = (size_t)YUNIWORD_REF_UINT(in,2);
/* out[0] : return value */
size_t out0;
/* call */
out0 = (size_t)SDL_utf8strlcpy(in0,in1,in2);
/* output */
YUNIWORD_SET_UINT(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_utf8strlcpy_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_strlcpy_forward0,in,in_size,out,out_size)
/* in[0] : dst */
char* const in0 = (char*)YUNIWORD_REF_PTR(in,0);
/* in[1] : src */
const char* const in1 = (const char*)YUNIWORD_REF_PTR(in,1);
/* in[2] : maxlen */
size_t const in2 = (size_t)YUNIWORD_REF_UINT(in,2);
/* out[0] : return value */
size_t out0;
/* call */
out0 = (size_t)SDL_strlcpy(in0,in1,in2);
/* output */
YUNIWORD_SET_UINT(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_strlcpy_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_strlen_forward0,in,in_size,out,out_size)
/* in[0] : str */
const char* const in0 = (const char*)YUNIWORD_REF_PTR(in,0);
/* out[0] : return value */
size_t out0;
/* call */
out0 = (size_t)SDL_strlen(in0);
/* output */
YUNIWORD_SET_UINT(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_strlen_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_memcmp_forward0,in,in_size,out,out_size)
/* in[0] : s1 */
const void* const in0 = (const void*)YUNIWORD_REF_PTR(in,0);
/* in[1] : s2 */
const void* const in1 = (const void*)YUNIWORD_REF_PTR(in,1);
/* in[2] : len */
size_t const in2 = (size_t)YUNIWORD_REF_UINT(in,2);
/* out[0] : return value */
int out0;
/* call */
out0 = (int)SDL_memcmp(in0,in1,in2);
/* output */
YUNIWORD_SET_SINT(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_memcmp_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_memmove_forward0,in,in_size,out,out_size)
/* in[0] : dst */
void* const in0 = (void*)YUNIWORD_REF_PTR(in,0);
/* in[1] : src */
const void* const in1 = (const void*)YUNIWORD_REF_PTR(in,1);
/* in[2] : len */
size_t const in2 = (size_t)YUNIWORD_REF_UINT(in,2);
/* out[0] : return value */
void* out0;
/* call */
out0 = (void*)SDL_memmove(in0,in1,in2);
/* output */
YUNIWORD_SET_PTR(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_memmove_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_memcpy4_forward0,in,in_size,out,out_size)
/* in[0] : dst */
void* const in0 = (void*)YUNIWORD_REF_PTR(in,0);
/* in[1] : src */
const void* const in1 = (const void*)YUNIWORD_REF_PTR(in,1);
/* in[2] : dwords */
size_t const in2 = (size_t)YUNIWORD_REF_UINT(in,2);
/* out[0] : return value */
void* out0;
/* call */
out0 = (void*)SDL_memcpy4(in0,in1,in2);
/* output */
YUNIWORD_SET_PTR(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_memcpy4_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_memcpy_forward0,in,in_size,out,out_size)
/* in[0] : dst */
void* const in0 = (void*)YUNIWORD_REF_PTR(in,0);
/* in[1] : src */
const void* const in1 = (const void*)YUNIWORD_REF_PTR(in,1);
/* in[2] : len */
size_t const in2 = (size_t)YUNIWORD_REF_UINT(in,2);
/* out[0] : return value */
void* out0;
/* call */
out0 = (void*)SDL_memcpy(in0,in1,in2);
/* output */
YUNIWORD_SET_PTR(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_memcpy_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_memset4_forward0,in,in_size,out,out_size)
/* in[0] : dst */
void* const in0 = (void*)YUNIWORD_REF_PTR(in,0);
/* in[1] : val */
Uint32 const in1 = (Uint32)YUNIWORD_REF_UINT(in,1);
/* in[2] : dwords */
size_t const in2 = (size_t)YUNIWORD_REF_UINT(in,2);
/* call */
SDL_memset4(in0,in1,in2);
/* output */
YUNIFFI_FUNC_END(ystub_SDL_memset4_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_memset_forward0,in,in_size,out,out_size)
/* in[0] : dst */
void* const in0 = (void*)YUNIWORD_REF_PTR(in,0);
/* in[1] : c */
int const in1 = (int)YUNIWORD_REF_SINT(in,1);
/* in[2] : len */
size_t const in2 = (size_t)YUNIWORD_REF_UINT(in,2);
/* out[0] : return value */
void* out0;
/* call */
out0 = (void*)SDL_memset(in0,in1,in2);
/* output */
YUNIWORD_SET_PTR(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_memset_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_tolower_forward0,in,in_size,out,out_size)
/* in[0] : x */
int const in0 = (int)YUNIWORD_REF_SINT(in,0);
/* out[0] : return value */
int out0;
/* call */
out0 = (int)SDL_tolower(in0);
/* output */
YUNIWORD_SET_SINT(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_tolower_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_toupper_forward0,in,in_size,out,out_size)
/* in[0] : x */
int const in0 = (int)YUNIWORD_REF_SINT(in,0);
/* out[0] : return value */
int out0;
/* call */
out0 = (int)SDL_toupper(in0);
/* output */
YUNIWORD_SET_SINT(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_toupper_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_isspace_forward0,in,in_size,out,out_size)
/* in[0] : x */
int const in0 = (int)YUNIWORD_REF_SINT(in,0);
/* out[0] : return value */
int out0;
/* call */
out0 = (int)SDL_isspace(in0);
/* output */
YUNIWORD_SET_SINT(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_isspace_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_isdigit_forward0,in,in_size,out,out_size)
/* in[0] : x */
int const in0 = (int)YUNIWORD_REF_SINT(in,0);
/* out[0] : return value */
int out0;
/* call */
out0 = (int)SDL_isdigit(in0);
/* output */
YUNIWORD_SET_SINT(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_isdigit_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_abs_forward0,in,in_size,out,out_size)
/* in[0] : x */
int const in0 = (int)YUNIWORD_REF_SINT(in,0);
/* out[0] : return value */
int out0;
/* call */
out0 = (int)SDL_abs(in0);
/* output */
YUNIWORD_SET_SINT(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_abs_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_setenv_forward0,in,in_size,out,out_size)
/* in[0] : name */
const char* const in0 = (const char*)YUNIWORD_REF_PTR(in,0);
/* in[1] : value */
const char* const in1 = (const char*)YUNIWORD_REF_PTR(in,1);
/* in[2] : overwrite */
int const in2 = (int)YUNIWORD_REF_SINT(in,2);
/* out[0] : return value */
int out0;
/* call */
out0 = (int)SDL_setenv(in0,in1,in2);
/* output */
YUNIWORD_SET_SINT(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_setenv_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_getenv_forward0,in,in_size,out,out_size)
/* in[0] : name */
const char* const in0 = (const char*)YUNIWORD_REF_PTR(in,0);
/* out[0] : return value */
char* out0;
/* call */
out0 = (char*)SDL_getenv(in0);
/* output */
YUNIWORD_SET_PTR(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_getenv_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_free_forward0,in,in_size,out,out_size)
/* in[0] : mem */
void* const in0 = (void*)YUNIWORD_REF_PTR(in,0);
/* call */
SDL_free(in0);
/* output */
YUNIFFI_FUNC_END(ystub_SDL_free_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_realloc_forward0,in,in_size,out,out_size)
/* in[0] : mem */
void* const in0 = (void*)YUNIWORD_REF_PTR(in,0);
/* in[1] : size */
size_t const in1 = (size_t)YUNIWORD_REF_UINT(in,1);
/* out[0] : return value */
void* out0;
/* call */
out0 = (void*)SDL_realloc(in0,in1);
/* output */
YUNIWORD_SET_PTR(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_realloc_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_calloc_forward0,in,in_size,out,out_size)
/* in[0] : nmemb */
size_t const in0 = (size_t)YUNIWORD_REF_UINT(in,0);
/* in[1] : size */
size_t const in1 = (size_t)YUNIWORD_REF_UINT(in,1);
/* out[0] : return value */
void* out0;
/* call */
out0 = (void*)SDL_calloc(in0,in1);
/* output */
YUNIWORD_SET_PTR(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_calloc_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_malloc_forward0,in,in_size,out,out_size)
/* in[0] : size */
size_t const in0 = (size_t)YUNIWORD_REF_UINT(in,0);
/* out[0] : return value */
void* out0;
/* call */
out0 = (void*)SDL_malloc(in0);
/* output */
YUNIWORD_SET_PTR(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_malloc_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_SetMainReady_forward0,in,in_size,out,out_size)
/* call */
SDL_SetMainReady();
/* output */
YUNIFFI_FUNC_END(ystub_SDL_SetMainReady_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_Quit_forward0,in,in_size,out,out_size)
/* call */
SDL_Quit();
/* output */
YUNIFFI_FUNC_END(ystub_SDL_Quit_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_WasInit_forward0,in,in_size,out,out_size)
/* in[0] : flags */
Uint32 const in0 = (Uint32)YUNIWORD_REF_UINT(in,0);
/* out[0] : return value */
int out0;
/* call */
out0 = (int)SDL_WasInit(in0);
/* output */
YUNIWORD_SET_SINT(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_WasInit_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_QuitSubSystem_forward0,in,in_size,out,out_size)
/* in[0] : flags */
Uint32 const in0 = (Uint32)YUNIWORD_REF_UINT(in,0);
/* call */
SDL_QuitSubSystem(in0);
/* output */
YUNIFFI_FUNC_END(ystub_SDL_QuitSubSystem_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_InitSubSystem_forward0,in,in_size,out,out_size)
/* in[0] : flags */
Uint32 const in0 = (Uint32)YUNIWORD_REF_UINT(in,0);
/* out[0] : return value */
int out0;
/* call */
out0 = (int)SDL_InitSubSystem(in0);
/* output */
YUNIWORD_SET_SINT(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_InitSubSystem_forward0)
static
YUNIFFI_FUNC_BEGIN(ystub_SDL_Init_forward0,in,in_size,out,out_size)
/* in[0] : flags */
Uint32 const in0 = (Uint32)YUNIWORD_REF_UINT(in,0);
/* out[0] : return value */
int out0;
/* call */
out0 = (int)SDL_Init(in0);
/* output */
YUNIWORD_SET_SINT(out,0,out0);
YUNIFFI_FUNC_END(ystub_SDL_Init_forward0)
#define EXPORT_ystub_SDL_iconv_string_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_iconv_string_forward0)
#define EXPORT_ystub_SDL_iconv_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_iconv_forward0)
#define EXPORT_ystub_SDL_iconv_close_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_iconv_close_forward0)
#define EXPORT_ystub_SDL_iconv_open_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_iconv_open_forward0)
#define EXPORT_ystub_SDL_sqrt_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_sqrt_forward0)
#define EXPORT_ystub_SDL_sinf_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_sinf_forward0)
#define EXPORT_ystub_SDL_sin_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_sin_forward0)
#define EXPORT_ystub_SDL_scalbn_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_scalbn_forward0)
#define EXPORT_ystub_SDL_pow_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_pow_forward0)
#define EXPORT_ystub_SDL_log_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_log_forward0)
#define EXPORT_ystub_SDL_floor_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_floor_forward0)
#define EXPORT_ystub_SDL_fabs_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_fabs_forward0)
#define EXPORT_ystub_SDL_cosf_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_cosf_forward0)
#define EXPORT_ystub_SDL_cos_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_cos_forward0)
#define EXPORT_ystub_SDL_copysign_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_copysign_forward0)
#define EXPORT_ystub_SDL_ceil_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_ceil_forward0)
#define EXPORT_ystub_SDL_atan2_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_atan2_forward0)
#define EXPORT_ystub_SDL_atan_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_atan_forward0)
#define EXPORT_ystub_SDL_asin_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_asin_forward0)
#define EXPORT_ystub_SDL_acos_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_acos_forward0)
#define EXPORT_ystub_SDL_strncasecmp_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_strncasecmp_forward0)
#define EXPORT_ystub_SDL_strcasecmp_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_strcasecmp_forward0)
#define EXPORT_ystub_SDL_strncmp_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_strncmp_forward0)
#define EXPORT_ystub_SDL_strcmp_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_strcmp_forward0)
#define EXPORT_ystub_SDL_strtod_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_strtod_forward0)
#define EXPORT_ystub_SDL_strtoull_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_strtoull_forward0)
#define EXPORT_ystub_SDL_strtoll_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_strtoll_forward0)
#define EXPORT_ystub_SDL_strtoul_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_strtoul_forward0)
#define EXPORT_ystub_SDL_strtol_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_strtol_forward0)
#define EXPORT_ystub_SDL_atof_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_atof_forward0)
#define EXPORT_ystub_SDL_atoi_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_atoi_forward0)
#define EXPORT_ystub_SDL_ulltoa_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_ulltoa_forward0)
#define EXPORT_ystub_SDL_lltoa_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_lltoa_forward0)
#define EXPORT_ystub_SDL_ultoa_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_ultoa_forward0)
#define EXPORT_ystub_SDL_ltoa_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_ltoa_forward0)
#define EXPORT_ystub_SDL_uitoa_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_uitoa_forward0)
#define EXPORT_ystub_SDL_itoa_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_itoa_forward0)
#define EXPORT_ystub_SDL_strstr_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_strstr_forward0)
#define EXPORT_ystub_SDL_strrchr_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_strrchr_forward0)
#define EXPORT_ystub_SDL_strchr_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_strchr_forward0)
#define EXPORT_ystub_SDL_strlwr_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_strlwr_forward0)
#define EXPORT_ystub_SDL_strupr_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_strupr_forward0)
#define EXPORT_ystub_SDL_strrev_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_strrev_forward0)
#define EXPORT_ystub_SDL_strdup_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_strdup_forward0)
#define EXPORT_ystub_SDL_strlcat_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_strlcat_forward0)
#define EXPORT_ystub_SDL_utf8strlcpy_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_utf8strlcpy_forward0)
#define EXPORT_ystub_SDL_strlcpy_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_strlcpy_forward0)
#define EXPORT_ystub_SDL_strlen_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_strlen_forward0)
#define EXPORT_ystub_SDL_memcmp_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_memcmp_forward0)
#define EXPORT_ystub_SDL_memmove_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_memmove_forward0)
#define EXPORT_ystub_SDL_memcpy4_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_memcpy4_forward0)
#define EXPORT_ystub_SDL_memcpy_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_memcpy_forward0)
#define EXPORT_ystub_SDL_memset4_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_memset4_forward0)
#define EXPORT_ystub_SDL_memset_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_memset_forward0)
#define EXPORT_ystub_SDL_tolower_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_tolower_forward0)
#define EXPORT_ystub_SDL_toupper_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_toupper_forward0)
#define EXPORT_ystub_SDL_isspace_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_isspace_forward0)
#define EXPORT_ystub_SDL_isdigit_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_isdigit_forward0)
#define EXPORT_ystub_SDL_abs_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_abs_forward0)
#define EXPORT_ystub_SDL_setenv_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_setenv_forward0)
#define EXPORT_ystub_SDL_getenv_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_getenv_forward0)
#define EXPORT_ystub_SDL_free_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_free_forward0)
#define EXPORT_ystub_SDL_realloc_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_realloc_forward0)
#define EXPORT_ystub_SDL_calloc_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_calloc_forward0)
#define EXPORT_ystub_SDL_malloc_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_malloc_forward0)
#define EXPORT_ystub_SDL_SetMainReady_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_SetMainReady_forward0)
#define EXPORT_ystub_SDL_Quit_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_Quit_forward0)
#define EXPORT_ystub_SDL_WasInit_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_WasInit_forward0)
#define EXPORT_ystub_SDL_QuitSubSystem_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_QuitSubSystem_forward0)
#define EXPORT_ystub_SDL_InitSubSystem_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_InitSubSystem_forward0)
#define EXPORT_ystub_SDL_Init_forward0(k) \
YUNIFFI_EXPORTPROC_F0(k,ystub_SDL_Init_forward0)
YUNIFFI_C_BEGIN
YUNIFFI_EXPORTFUNC_BEGIN(SDL2_export_bridgestubs)
YUNIFFI_EXPORTFUNC_ENTRY(1,EXPORT_ystub_SDL_iconv_string_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(2,EXPORT_ystub_SDL_iconv_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(3,EXPORT_ystub_SDL_iconv_close_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(4,EXPORT_ystub_SDL_iconv_open_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(5,EXPORT_ystub_SDL_sqrt_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(6,EXPORT_ystub_SDL_sinf_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(7,EXPORT_ystub_SDL_sin_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(8,EXPORT_ystub_SDL_scalbn_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(9,EXPORT_ystub_SDL_pow_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(10,EXPORT_ystub_SDL_log_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(11,EXPORT_ystub_SDL_floor_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(12,EXPORT_ystub_SDL_fabs_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(13,EXPORT_ystub_SDL_cosf_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(14,EXPORT_ystub_SDL_cos_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(15,EXPORT_ystub_SDL_copysign_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(16,EXPORT_ystub_SDL_ceil_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(17,EXPORT_ystub_SDL_atan2_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(18,EXPORT_ystub_SDL_atan_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(19,EXPORT_ystub_SDL_asin_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(20,EXPORT_ystub_SDL_acos_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(21,EXPORT_ystub_SDL_strncasecmp_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(22,EXPORT_ystub_SDL_strcasecmp_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(23,EXPORT_ystub_SDL_strncmp_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(24,EXPORT_ystub_SDL_strcmp_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(25,EXPORT_ystub_SDL_strtod_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(26,EXPORT_ystub_SDL_strtoull_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(27,EXPORT_ystub_SDL_strtoll_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(28,EXPORT_ystub_SDL_strtoul_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(29,EXPORT_ystub_SDL_strtol_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(30,EXPORT_ystub_SDL_atof_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(31,EXPORT_ystub_SDL_atoi_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(32,EXPORT_ystub_SDL_ulltoa_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(33,EXPORT_ystub_SDL_lltoa_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(34,EXPORT_ystub_SDL_ultoa_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(35,EXPORT_ystub_SDL_ltoa_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(36,EXPORT_ystub_SDL_uitoa_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(37,EXPORT_ystub_SDL_itoa_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(38,EXPORT_ystub_SDL_strstr_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(39,EXPORT_ystub_SDL_strrchr_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(40,EXPORT_ystub_SDL_strchr_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(41,EXPORT_ystub_SDL_strlwr_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(42,EXPORT_ystub_SDL_strupr_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(43,EXPORT_ystub_SDL_strrev_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(44,EXPORT_ystub_SDL_strdup_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(45,EXPORT_ystub_SDL_strlcat_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(46,EXPORT_ystub_SDL_utf8strlcpy_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(47,EXPORT_ystub_SDL_strlcpy_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(48,EXPORT_ystub_SDL_strlen_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(49,EXPORT_ystub_SDL_memcmp_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(50,EXPORT_ystub_SDL_memmove_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(51,EXPORT_ystub_SDL_memcpy4_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(52,EXPORT_ystub_SDL_memcpy_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(53,EXPORT_ystub_SDL_memset4_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(54,EXPORT_ystub_SDL_memset_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(55,EXPORT_ystub_SDL_tolower_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(56,EXPORT_ystub_SDL_toupper_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(57,EXPORT_ystub_SDL_isspace_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(58,EXPORT_ystub_SDL_isdigit_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(59,EXPORT_ystub_SDL_abs_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(60,EXPORT_ystub_SDL_setenv_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(61,EXPORT_ystub_SDL_getenv_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(62,EXPORT_ystub_SDL_free_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(63,EXPORT_ystub_SDL_realloc_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(64,EXPORT_ystub_SDL_calloc_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(65,EXPORT_ystub_SDL_malloc_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(66,EXPORT_ystub_SDL_SetMainReady_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(67,EXPORT_ystub_SDL_Quit_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(68,EXPORT_ystub_SDL_WasInit_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(69,EXPORT_ystub_SDL_QuitSubSystem_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(70,EXPORT_ystub_SDL_InitSubSystem_forward0)
YUNIFFI_EXPORTFUNC_ENTRY(71,EXPORT_ystub_SDL_Init_forward0)
YUNIFFI_EXPORTFUNC_ENTRY_TERM(72)
YUNIFFI_EXPORTFUNC_END(SDL2_export_bridgestubs)
YUNIFFI_C_END
#include <yuniffi/stub/_end.h>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment