Skip to content

Commit

Permalink
[BOX32][WRAPPER] Added more SDL2 and freetype function, and fixed mis…
Browse files Browse the repository at this point in the history
…sing fonts in many games ([BOX64] also fixed some SDL2 signature on RWops)
  • Loading branch information
ptitSeb committed Sep 29, 2024
1 parent 9968963 commit 874238f
Show file tree
Hide file tree
Showing 17 changed files with 550 additions and 106 deletions.
1 change: 1 addition & 0 deletions src/include/sdl2rwops.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ void RWNativeEnd2(SDL2_RWops_t* ops); // put emulated
int isRWops(SDL2_RWops_t* ops); // 1 if ops seems to be a valid RWops, 0 if not

int64_t RWNativeSeek2(SDL2_RWops_t *ops, int64_t offset, int32_t whence);
int64_t RWNativeSize2(SDL2_RWops_t *ops);
size_t RWNativeRead2(SDL2_RWops_t* ops, void* ptr, size_t size, size_t maxnum);
size_t RWNativeWrite2(SDL2_RWops_t *ops, const void *ptr, size_t size, size_t num);
int32_t RWNativeClose2(SDL2_RWops_t* ops);
Expand Down
65 changes: 60 additions & 5 deletions src/libtools/sdl2rwops.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ typedef struct SDL2_RWops_s {
SDL2_RWops_t *orig;
sdl2_freerw custom_free;
} my;
#ifdef BOX32
struct {
my_SDL2_RWops_32_t *orig;
sdl2_freerw custom_free;
} my32;
#endif
} hidden;
} SDL2_RWops_t;

Expand Down Expand Up @@ -87,7 +93,7 @@ EXPORT int64_t my2_native_size(SDL2_RWops_t *context)
#ifdef BOX32
if(box64_is32bits) {
inplace_SDL2_RWops_to_64(context);
int ret = context->hidden.my.orig->size(context->hidden.my.orig);
int64_t ret = context->hidden.my.orig->size(context->hidden.my.orig);
inplace_SDL2_RWops_to_32(context);
return ret;
}
Expand All @@ -99,7 +105,7 @@ EXPORT int64_t my2_native_seek(SDL2_RWops_t *context, int64_t offset, int32_t wh
#ifdef BOX32
if(box64_is32bits) {
inplace_SDL2_RWops_to_64(context);
int ret = context->hidden.my.orig->seek(context->hidden.my.orig, offset, whence);
int64_t ret = context->hidden.my.orig->seek(context->hidden.my.orig, offset, whence);
inplace_SDL2_RWops_to_32(context);
return ret;
}
Expand All @@ -111,7 +117,7 @@ EXPORT size_t my2_native_read(SDL2_RWops_t *context, void *ptr, size_t size, siz
#ifdef BOX32
if(box64_is32bits) {
inplace_SDL2_RWops_to_64(context);
int ret = context->hidden.my.orig->read(context->hidden.my.orig, ptr, size, maxnum);
size_t ret = context->hidden.my.orig->read(context->hidden.my.orig, ptr, size, maxnum);
inplace_SDL2_RWops_to_32(context);
return ret;
}
Expand All @@ -123,7 +129,7 @@ EXPORT size_t my2_native_write(SDL2_RWops_t *context, const void *ptr, size_t si
#ifdef BOX32
if(box64_is32bits) {
inplace_SDL2_RWops_to_64(context);
int ret = context->hidden.my.orig->write(context->hidden.my.orig, ptr, size, num);
size_t ret = context->hidden.my.orig->write(context->hidden.my.orig, ptr, size, num);
inplace_SDL2_RWops_to_32(context);
return ret;
}
Expand All @@ -143,23 +149,68 @@ EXPORT int32_t my2_native_close(SDL2_RWops_t *context)
}
EXPORT int64_t my2_emulated_size(SDL2_RWops_t *context)
{
#ifdef BOX32
if(box64_is32bits) {
if(GetNativeFnc(context->hidden.my32.orig->size) == my2_native_size)
return my2_native_size(context->hidden.my.orig);
uintptr_t f = context->hidden.my32.orig->size;
int64_t ret = (int64_t)RunFunctionFmt(f, "p", context->hidden.my32.orig);
return ret;
}
#endif
return (int64_t)RunFunctionFmt((uintptr_t)context->hidden.my.orig->size, "p", context->hidden.my.orig);
}
EXPORT int64_t my2_emulated_seek(SDL2_RWops_t *context, int64_t offset, int32_t whence)
{
#ifdef BOX32
if(box64_is32bits) {
if(GetNativeFnc(context->hidden.my32.orig->seek) == my2_native_seek)
return my2_native_seek(context->hidden.my.orig, offset, whence);
uintptr_t f = context->hidden.my32.orig->seek;
int64_t ret = (int64_t)RunFunctionFmt(f, "pIi", context->hidden.my32.orig, offset, whence);
return ret;
}
#endif
return (int64_t)RunFunctionFmt((uintptr_t)context->hidden.my.orig->seek, "pIi", context->hidden.my.orig, offset, whence);
}
EXPORT size_t my2_emulated_read(SDL2_RWops_t *context, void *ptr, size_t size, size_t maxnum)
{
#ifdef BOX32
if(box64_is32bits) {
if(GetNativeFnc(context->hidden.my32.orig->read) == my2_native_read)
return my2_native_read(context->hidden.my.orig, ptr, size, maxnum);
uintptr_t f = context->hidden.my32.orig->read;
size_t ret = (size_t)RunFunctionFmt(f, "ppLL", context->hidden.my32.orig, ptr, size, maxnum);
return ret;
}
#endif
return (size_t)RunFunctionFmt((uintptr_t)context->hidden.my.orig->read, "ppLL", context->hidden.my.orig, ptr, size, maxnum);
}
EXPORT size_t my2_emulated_write(SDL2_RWops_t *context, const void *ptr, size_t size, size_t num)
{
#ifdef BOX32
if(box64_is32bits) {
if(GetNativeFnc(context->hidden.my32.orig->write) == my2_native_write)
return my2_native_write(context->hidden.my.orig, ptr, size, num);
uintptr_t f = context->hidden.my32.orig->write;
size_t ret = (size_t)RunFunctionFmt(f, "ppLL", context->hidden.my32.orig, ptr, size, num);
return ret;
}
#endif
return (size_t)RunFunctionFmt((uintptr_t)context->hidden.my.orig->write, "ppLL", context->hidden.my.orig, ptr, size, num);
}
EXPORT int32_t my2_emulated_close(SDL2_RWops_t *context)
{
int ret = (int32_t)RunFunctionFmt((uintptr_t)context->hidden.my.orig->close, "p", context->hidden.my.orig);
int ret = 0;
#ifdef BOX32
if(box64_is32bits) {
if(GetNativeFnc(context->hidden.my32.orig->close) == my2_native_close)
return my2_native_close(context->hidden.my.orig);
uintptr_t f = context->hidden.my32.orig->close;
ret = (size_t)RunFunctionFmt(f, "p", context->hidden.my32.orig);
} else
#endif
ret = (int32_t)RunFunctionFmt((uintptr_t)context->hidden.my.orig->close, "p", context->hidden.my.orig);
context->hidden.my.custom_free(context);
return ret;
}
Expand Down Expand Up @@ -276,6 +327,10 @@ int64_t RWNativeSeek2(SDL2_RWops_t *ops, int64_t offset, int32_t whence)
{
return ops->seek(ops, offset, whence);
}
int64_t RWNativeSize2(SDL2_RWops_t *ops)
{
return ops->size(ops);
}
size_t RWNativeRead2(SDL2_RWops_t* ops, void* ptr, size_t size, size_t maxnum)
{
return ops->read(ops, ptr, size, maxnum);
Expand Down
4 changes: 2 additions & 2 deletions src/wrapped/generated/functions_list.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1710,7 +1710,6 @@
#() uFEippp
#() uFEpipp
#() uFEpupp
#() uFEppuu
#() uFEpppp
#() uFEpppV
#() uFiuuuu
Expand Down Expand Up @@ -1754,6 +1753,7 @@
#() lFppLpL
#() lFppLpp
#() LFELppu
#() LFEppLL
#() LFEpppp
#() LFLpppL
#() LFpuipp
Expand Down Expand Up @@ -5577,7 +5577,7 @@ wrappedsdl2:
- SDL_vsnprintf
- iFpLpV:
- SDL_snprintf
- uFppuu:
- LFppLL:
- SDL_RWread
- SDL_RWwrite
- vFGpppp:
Expand Down
6 changes: 3 additions & 3 deletions src/wrapped/generated/wrappedsdl2types.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ typedef void* (*pFppp_t)(void*, void*, void*);
typedef void (*vFpuup_t)(void*, uint32_t, uint32_t, void*);
typedef int32_t (*iFpLpp_t)(void*, uintptr_t, void*, void*);
typedef int32_t (*iFpLpV_t)(void*, uintptr_t, void*, ...);
typedef uint32_t (*uFppuu_t)(void*, void*, uint32_t, uint32_t);
typedef uintptr_t (*LFppLL_t)(void*, void*, uintptr_t, uintptr_t);
typedef void (*vFGpppp_t)(SDL_JoystickGUID, void*, void*, void*, void*);
typedef uint32_t (*uFpippi_t)(void*, int32_t, void*, void*, int32_t);
typedef void* (*pFpippp_t)(void*, int32_t, void*, void*, void*);
Expand Down Expand Up @@ -127,8 +127,8 @@ typedef void* (*pFpippp_t)(void*, int32_t, void*, void*, void*);
GO(SDL_qsort, vFpuup_t) \
GO(SDL_vsnprintf, iFpLpp_t) \
GO(SDL_snprintf, iFpLpV_t) \
GO(SDL_RWread, uFppuu_t) \
GO(SDL_RWwrite, uFppuu_t) \
GO(SDL_RWread, LFppLL_t) \
GO(SDL_RWwrite, LFppLL_t) \
GO(SDL_GetJoystickGUIDInfo, vFGpppp_t) \
GO(SDL_OpenAudioDevice, uFpippi_t) \
GO(SDL_LoadWAV_RW, pFpippp_t)
Expand Down
4 changes: 2 additions & 2 deletions src/wrapped/generated/wrapper.c
Original file line number Diff line number Diff line change
Expand Up @@ -1739,7 +1739,6 @@ typedef int64_t (*IFppIII_t)(void*, void*, int64_t, int64_t, int64_t);
typedef uint32_t (*uFEippp_t)(x64emu_t*, int32_t, void*, void*, void*);
typedef uint32_t (*uFEpipp_t)(x64emu_t*, void*, int32_t, void*, void*);
typedef uint32_t (*uFEpupp_t)(x64emu_t*, void*, uint32_t, void*, void*);
typedef uint32_t (*uFEppuu_t)(x64emu_t*, void*, void*, uint32_t, uint32_t);
typedef uint32_t (*uFEpppp_t)(x64emu_t*, void*, void*, void*, void*);
typedef uint32_t (*uFEpppV_t)(x64emu_t*, void*, void*, void*, void*);
typedef uint32_t (*uFiuuuu_t)(int32_t, uint32_t, uint32_t, uint32_t, uint32_t);
Expand Down Expand Up @@ -1783,6 +1782,7 @@ typedef intptr_t (*lFppupp_t)(void*, void*, uint32_t, void*, void*);
typedef intptr_t (*lFppLpL_t)(void*, void*, uintptr_t, void*, uintptr_t);
typedef intptr_t (*lFppLpp_t)(void*, void*, uintptr_t, void*, void*);
typedef uintptr_t (*LFELppu_t)(x64emu_t*, uintptr_t, void*, void*, uint32_t);
typedef uintptr_t (*LFEppLL_t)(x64emu_t*, void*, void*, uintptr_t, uintptr_t);
typedef uintptr_t (*LFEpppp_t)(x64emu_t*, void*, void*, void*, void*);
typedef uintptr_t (*LFLpppL_t)(uintptr_t, void*, void*, void*, uintptr_t);
typedef uintptr_t (*LFpuipp_t)(void*, uint32_t, int32_t, void*, void*);
Expand Down Expand Up @@ -4973,7 +4973,6 @@ void IFppIII(x64emu_t *emu, uintptr_t fcn) { IFppIII_t fn = (IFppIII_t)fcn; R_RA
void uFEippp(x64emu_t *emu, uintptr_t fcn) { uFEippp_t fn = (uFEippp_t)fcn; R_RAX=(uint32_t)fn(emu, (int32_t)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX); }
void uFEpipp(x64emu_t *emu, uintptr_t fcn) { uFEpipp_t fn = (uFEpipp_t)fcn; R_RAX=(uint32_t)fn(emu, (void*)R_RDI, (int32_t)R_RSI, (void*)R_RDX, (void*)R_RCX); }
void uFEpupp(x64emu_t *emu, uintptr_t fcn) { uFEpupp_t fn = (uFEpupp_t)fcn; R_RAX=(uint32_t)fn(emu, (void*)R_RDI, (uint32_t)R_RSI, (void*)R_RDX, (void*)R_RCX); }
void uFEppuu(x64emu_t *emu, uintptr_t fcn) { uFEppuu_t fn = (uFEppuu_t)fcn; R_RAX=(uint32_t)fn(emu, (void*)R_RDI, (void*)R_RSI, (uint32_t)R_RDX, (uint32_t)R_RCX); }
void uFEpppp(x64emu_t *emu, uintptr_t fcn) { uFEpppp_t fn = (uFEpppp_t)fcn; R_RAX=(uint32_t)fn(emu, (void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX); }
void uFEpppV(x64emu_t *emu, uintptr_t fcn) { uFEpppV_t fn = (uFEpppV_t)fcn; R_RAX=(uint32_t)fn(emu, (void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)(R_RSP + 8)); }
void uFiuuuu(x64emu_t *emu, uintptr_t fcn) { uFiuuuu_t fn = (uFiuuuu_t)fcn; R_RAX=(uint32_t)fn((int32_t)R_RDI, (uint32_t)R_RSI, (uint32_t)R_RDX, (uint32_t)R_RCX, (uint32_t)R_R8); }
Expand Down Expand Up @@ -5017,6 +5016,7 @@ void lFppupp(x64emu_t *emu, uintptr_t fcn) { lFppupp_t fn = (lFppupp_t)fcn; R_RA
void lFppLpL(x64emu_t *emu, uintptr_t fcn) { lFppLpL_t fn = (lFppLpL_t)fcn; R_RAX=(intptr_t)fn((void*)R_RDI, (void*)R_RSI, (uintptr_t)R_RDX, (void*)R_RCX, (uintptr_t)R_R8); }
void lFppLpp(x64emu_t *emu, uintptr_t fcn) { lFppLpp_t fn = (lFppLpp_t)fcn; R_RAX=(intptr_t)fn((void*)R_RDI, (void*)R_RSI, (uintptr_t)R_RDX, (void*)R_RCX, (void*)R_R8); }
void LFELppu(x64emu_t *emu, uintptr_t fcn) { LFELppu_t fn = (LFELppu_t)fcn; R_RAX=(uintptr_t)fn(emu, (uintptr_t)R_RDI, (void*)R_RSI, (void*)R_RDX, (uint32_t)R_RCX); }
void LFEppLL(x64emu_t *emu, uintptr_t fcn) { LFEppLL_t fn = (LFEppLL_t)fcn; R_RAX=(uintptr_t)fn(emu, (void*)R_RDI, (void*)R_RSI, (uintptr_t)R_RDX, (uintptr_t)R_RCX); }
void LFEpppp(x64emu_t *emu, uintptr_t fcn) { LFEpppp_t fn = (LFEpppp_t)fcn; R_RAX=(uintptr_t)fn(emu, (void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX); }
void LFLpppL(x64emu_t *emu, uintptr_t fcn) { LFLpppL_t fn = (LFLpppL_t)fcn; R_RAX=(uintptr_t)fn((uintptr_t)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX, (uintptr_t)R_R8); }
void LFpuipp(x64emu_t *emu, uintptr_t fcn) { LFpuipp_t fn = (LFpuipp_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (uint32_t)R_RSI, (int32_t)R_RDX, (void*)R_RCX, (void*)R_R8); }
Expand Down
2 changes: 1 addition & 1 deletion src/wrapped/generated/wrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -1747,7 +1747,6 @@ void IFppIII(x64emu_t *emu, uintptr_t fnc);
void uFEippp(x64emu_t *emu, uintptr_t fnc);
void uFEpipp(x64emu_t *emu, uintptr_t fnc);
void uFEpupp(x64emu_t *emu, uintptr_t fnc);
void uFEppuu(x64emu_t *emu, uintptr_t fnc);
void uFEpppp(x64emu_t *emu, uintptr_t fnc);
void uFEpppV(x64emu_t *emu, uintptr_t fnc);
void uFiuuuu(x64emu_t *emu, uintptr_t fnc);
Expand Down Expand Up @@ -1791,6 +1790,7 @@ void lFppupp(x64emu_t *emu, uintptr_t fnc);
void lFppLpL(x64emu_t *emu, uintptr_t fnc);
void lFppLpp(x64emu_t *emu, uintptr_t fnc);
void LFELppu(x64emu_t *emu, uintptr_t fnc);
void LFEppLL(x64emu_t *emu, uintptr_t fnc);
void LFEpppp(x64emu_t *emu, uintptr_t fnc);
void LFLpppL(x64emu_t *emu, uintptr_t fnc);
void LFpuipp(x64emu_t *emu, uintptr_t fnc);
Expand Down
10 changes: 5 additions & 5 deletions src/wrapped/wrappedsdl2.c
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ EXPORT void *my2_SDL_RWFromMem(x64emu_t* emu, void* a, int b)
return AddNativeRW2(emu, (SDL2_RWops_t*)r);
}

EXPORT int64_t my2_SDL_RWseek(x64emu_t* emu, void* a, int64_t offset, int64_t whence)
EXPORT int64_t my2_SDL_RWseek(x64emu_t* emu, void* a, int64_t offset, int whence)
{
//sdl2_my_t *my = (sdl2_my_t *)emu->context->sdl2lib->priv.w.p2;
SDL2_RWops_t *rw = RWNativeStart2(emu, (SDL2_RWops_t*)a);
Expand All @@ -427,17 +427,17 @@ EXPORT int64_t my2_SDL_RWtell(x64emu_t* emu, void* a)
RWNativeEnd2(rw);
return ret;
}
EXPORT uint64_t my2_SDL_RWread(x64emu_t* emu, void* a, void* ptr, uint64_t size, uint64_t maxnum)
EXPORT size_t my2_SDL_RWread(x64emu_t* emu, void* a, void* ptr, size_t size, size_t maxnum)
{
SDL2_RWops_t *rw = RWNativeStart2(emu, (SDL2_RWops_t*)a);
uint64_t ret = RWNativeRead2(rw, ptr, size, maxnum);
size_t ret = RWNativeRead2(rw, ptr, size, maxnum);
RWNativeEnd2(rw);
return ret;
}
EXPORT uint64_t my2_SDL_RWwrite(x64emu_t* emu, void* a, const void* ptr, uint64_t size, uint64_t maxnum)
EXPORT size_t my2_SDL_RWwrite(x64emu_t* emu, void* a, const void* ptr, size_t size, size_t maxnum)
{
SDL2_RWops_t *rw = RWNativeStart2(emu, (SDL2_RWops_t*)a);
uint64_t ret = RWNativeWrite2(rw, ptr, size, maxnum);
size_t ret = RWNativeWrite2(rw, ptr, size, maxnum);
RWNativeEnd2(rw);
return ret;
}
Expand Down
4 changes: 2 additions & 2 deletions src/wrapped/wrappedsdl2_private.h
Original file line number Diff line number Diff line change
Expand Up @@ -731,8 +731,8 @@ GOM(SDL_WriteU8, uFEpu)

GOM(SDL_RWseek, IFEpIi)
GOM(SDL_RWtell, IFEp)
GOM(SDL_RWread, uFEppuu)
GOM(SDL_RWwrite, uFEppuu)
GOM(SDL_RWread, LFEppLL)
GOM(SDL_RWwrite, LFEppLL)
GOM(SDL_RWclose, iFEp)

GO2(SDL_mutexP, iFp, SDL_LockMutex)
Expand Down
20 changes: 20 additions & 0 deletions src/wrapped32/generated/functions_list.txt
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@
#() iFXi -> iFXi
#() iFXL -> iFXL
#() iFXp -> iFXp
#() IFEp -> IFEp
#() IFII -> IFII
#() CFip -> CFip
#() CFCi -> CFCi
Expand Down Expand Up @@ -533,6 +534,7 @@
#() iFEpuu -> iFEpuu
#() iFEpup -> iFEpup
#() iFEpLi -> iFEpLi
#() iFEppu -> iFEppu
#() iFEppL -> iFEppL
#() iFEppp -> iFEppp
#() iFEppV -> iFEppV
Expand Down Expand Up @@ -569,6 +571,7 @@
#() iFXLii -> iFXLii
#() iFXpip -> iFXpip
#() iFXppp -> iFXppp
#() IFEpIi -> IFEpIi
#() CFuuff -> CFuuff
#() uFEpii -> uFEpii
#() uFuuuu -> uFuuuu
Expand Down Expand Up @@ -742,6 +745,7 @@
#() uFpLLLS -> uFpLLLS
#() UFuiCiu -> UFuiCiu
#() lFpuipC -> lFpuipC
#() LFEppLL -> LFEppLL
#() LFpLppa -> LFpLppa
#() LFXLuuu -> LFXLuuu
#() LFXLpuu -> LFXLpuu
Expand Down Expand Up @@ -988,6 +992,7 @@
#() iFXLiuiiLLL -> iFXLiuiiLLL
#() iFXLLiiuuii -> iFXLLiiuuii
#() uFuulpiuiuf -> uFuulpiuiuf
#() pFEuiiiuuuu -> pFEuiiiuuuu
#() pFEXLiiuuLi -> pFEXLiiuuLi
#() vFEXLpppippp -> vFEXLpppippp
#() vFiiiiiiiiii -> vFiiiiiiiiii
Expand Down Expand Up @@ -1105,6 +1110,7 @@ wrappedfreetype:
- iFpp:
- FT_Get_PS_Font_Info
- FT_Request_Size
- FT_Set_Charmap
- uFpL:
- FT_Get_Char_Index
- LFpp:
Expand All @@ -1127,6 +1133,7 @@ wrappedfreetype:
- FT_Get_Glyph_Name
- iFpplp:
- FT_New_Face
- FT_Open_Face
- iFpuuup:
- FT_Get_Kerning
- iFplluu:
Expand Down Expand Up @@ -1670,6 +1677,10 @@ wrappedsdl2:
- iFp:
- SDL_PollEvent
- SDL_PushEvent
- SDL_RWclose
- IFp:
- SDL_RWsize
- SDL_RWtell
- pFv:
- SDL_GetBasePath
- pFp:
Expand All @@ -1696,8 +1707,12 @@ wrappedsdl2:
- SDL_notreal
- pFpp:
- SDL_RWFromFile
- iFppu:
- SDL_FillRect
- iFppV:
- SDL_sscanf
- IFpIi:
- SDL_RWseek
- pFpii:
- SDL_CreateColorCursor
- pFppp:
Expand All @@ -1706,10 +1721,15 @@ wrappedsdl2:
- SDL_vsnprintf
- iFpLpV:
- SDL_snprintf
- LFppLL:
- SDL_RWread
- SDL_RWwrite
- uFpippi:
- SDL_OpenAudioDevice
- pFpiiiiu:
- SDL_CreateRGBSurfaceWithFormatFrom
- pFuiiiuuuu:
- SDL_CreateRGBSurface
% JFEi -> pFEpi
wrappedtcmallocminimal:
- pFp:
Expand Down
2 changes: 2 additions & 0 deletions src/wrapped32/generated/wrappedfreetypetypes32.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ typedef int32_t (*iFppllp_t)(void*, void*, intptr_t, intptr_t, void*);
GO(FT_Render_Glyph, iFpu_t) \
GO(FT_Get_PS_Font_Info, iFpp_t) \
GO(FT_Request_Size, iFpp_t) \
GO(FT_Set_Charmap, iFpp_t) \
GO(FT_Get_Char_Index, uFpL_t) \
GO(FT_Get_First_Char, LFpp_t) \
GO(FT_Get_Sfnt_Table, pFpi_t) \
Expand All @@ -57,6 +58,7 @@ typedef int32_t (*iFppllp_t)(void*, void*, intptr_t, intptr_t, void*);
GO(FT_Get_Next_Char, LFpLp_t) \
GO(FT_Get_Glyph_Name, iFpupu_t) \
GO(FT_New_Face, iFpplp_t) \
GO(FT_Open_Face, iFpplp_t) \
GO(FT_Get_Kerning, iFpuuup_t) \
GO(FT_Set_Char_Size, iFplluu_t) \
GO(FT_Load_Sfnt_Table, iFpLlpp_t) \
Expand Down
Loading

0 comments on commit 874238f

Please sign in to comment.