mirror of
https://github.com/ptitSeb/box64.git
synced 2024-12-03 12:11:01 +00:00
Added some libxcb wrapped functions
This commit is contained in:
parent
51e840a150
commit
9ce44af204
@ -2164,6 +2164,7 @@
|
||||
#() pFEpppppppi
|
||||
#() pFEpppppppp
|
||||
#() pFpiiiiuuuu
|
||||
#() pFpiiCpWWup
|
||||
#() pFpCuWCCuuu
|
||||
#() pFpuuwwWWww
|
||||
#() pFpupuuuuup
|
||||
|
@ -2200,6 +2200,7 @@ typedef void* (*pFEpppppiiV_t)(x64emu_t*, void*, void*, void*, void*, void*, int
|
||||
typedef void* (*pFEpppppppi_t)(x64emu_t*, void*, void*, void*, void*, void*, void*, void*, int32_t);
|
||||
typedef void* (*pFEpppppppp_t)(x64emu_t*, void*, void*, void*, void*, void*, void*, void*, void*);
|
||||
typedef void* (*pFpiiiiuuuu_t)(void*, int32_t, int32_t, int32_t, int32_t, uint32_t, uint32_t, uint32_t, uint32_t);
|
||||
typedef void* (*pFpiiCpWWup_t)(void*, int32_t, int32_t, uint8_t, void*, uint16_t, uint16_t, uint32_t, void*);
|
||||
typedef void* (*pFpCuWCCuuu_t)(void*, uint8_t, uint32_t, uint16_t, uint8_t, uint8_t, uint32_t, uint32_t, uint32_t);
|
||||
typedef void* (*pFpuuwwWWww_t)(void*, uint32_t, uint32_t, int16_t, int16_t, uint16_t, uint16_t, int16_t, int16_t);
|
||||
typedef void* (*pFpupuuuuup_t)(void*, uint32_t, void*, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, void*);
|
||||
@ -4597,6 +4598,7 @@ void pFEpppppiiV(x64emu_t *emu, uintptr_t fcn) { pFEpppppiiV_t fn = (pFEpppppiiV
|
||||
void pFEpppppppi(x64emu_t *emu, uintptr_t fcn) { pFEpppppppi_t fn = (pFEpppppppi_t)fcn; R_RAX=(uintptr_t)fn(emu, (void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX, (void*)R_R8, (void*)R_R9, *(void**)(R_RSP + 8), *(int32_t*)(R_RSP + 16)); }
|
||||
void pFEpppppppp(x64emu_t *emu, uintptr_t fcn) { pFEpppppppp_t fn = (pFEpppppppp_t)fcn; R_RAX=(uintptr_t)fn(emu, (void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX, (void*)R_R8, (void*)R_R9, *(void**)(R_RSP + 8), *(void**)(R_RSP + 16)); }
|
||||
void pFpiiiiuuuu(x64emu_t *emu, uintptr_t fcn) { pFpiiiiuuuu_t fn = (pFpiiiiuuuu_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (int32_t)R_RSI, (int32_t)R_RDX, (int32_t)R_RCX, (int32_t)R_R8, (uint32_t)R_R9, *(uint32_t*)(R_RSP + 8), *(uint32_t*)(R_RSP + 16), *(uint32_t*)(R_RSP + 24)); }
|
||||
void pFpiiCpWWup(x64emu_t *emu, uintptr_t fcn) { pFpiiCpWWup_t fn = (pFpiiCpWWup_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (int32_t)R_RSI, (int32_t)R_RDX, (uint8_t)R_RCX, (void*)R_R8, (uint16_t)R_R9, *(uint16_t*)(R_RSP + 8), *(uint32_t*)(R_RSP + 16), *(void**)(R_RSP + 24)); }
|
||||
void pFpCuWCCuuu(x64emu_t *emu, uintptr_t fcn) { pFpCuWCCuuu_t fn = (pFpCuWCCuuu_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (uint8_t)R_RSI, (uint32_t)R_RDX, (uint16_t)R_RCX, (uint8_t)R_R8, (uint8_t)R_R9, *(uint32_t*)(R_RSP + 8), *(uint32_t*)(R_RSP + 16), *(uint32_t*)(R_RSP + 24)); }
|
||||
void pFpuuwwWWww(x64emu_t *emu, uintptr_t fcn) { pFpuuwwWWww_t fn = (pFpuuwwWWww_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (uint32_t)R_RSI, (uint32_t)R_RDX, (int16_t)R_RCX, (int16_t)R_R8, (uint16_t)R_R9, *(uint16_t*)(R_RSP + 8), *(int16_t*)(R_RSP + 16), *(int16_t*)(R_RSP + 24)); }
|
||||
void pFpupuuuuup(x64emu_t *emu, uintptr_t fcn) { pFpupuuuuup_t fn = (pFpupuuuuup_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (uint32_t)R_RSI, (void*)R_RDX, (uint32_t)R_RCX, (uint32_t)R_R8, (uint32_t)R_R9, *(uint32_t*)(R_RSP + 8), *(uint32_t*)(R_RSP + 16), *(void**)(R_RSP + 24)); }
|
||||
|
@ -2201,6 +2201,7 @@ void pFEpppppiiV(x64emu_t *emu, uintptr_t fnc);
|
||||
void pFEpppppppi(x64emu_t *emu, uintptr_t fnc);
|
||||
void pFEpppppppp(x64emu_t *emu, uintptr_t fnc);
|
||||
void pFpiiiiuuuu(x64emu_t *emu, uintptr_t fnc);
|
||||
void pFpiiCpWWup(x64emu_t *emu, uintptr_t fnc);
|
||||
void pFpCuWCCuuu(x64emu_t *emu, uintptr_t fnc);
|
||||
void pFpuuwwWWww(x64emu_t *emu, uintptr_t fnc);
|
||||
void pFpupuuuuup(x64emu_t *emu, uintptr_t fnc);
|
||||
|
@ -622,7 +622,7 @@ GO(xcb_setup_roots_length, iFp)
|
||||
//GO(xcb_str_name_end,
|
||||
//GO(xcb_str_name_length,
|
||||
//GO(xcb_str_next,
|
||||
//GO(xcb_str_sizeof,
|
||||
GO(xcb_str_sizeof, iFp)
|
||||
//GO(xcb_sumof,
|
||||
//GO(xcb_take_socket,
|
||||
//GO(xcb_timecoord_end,
|
||||
|
@ -217,7 +217,7 @@ DATA(xcb_randr_id, 8)
|
||||
//GO(xcb_randr_list_provider_properties_unchecked,
|
||||
//GO(xcb_randr_mode_end,
|
||||
//GO(xcb_randr_mode_info_end,
|
||||
//GO(xcb_randr_mode_info_next,
|
||||
GO(xcb_randr_mode_info_next, vFp)
|
||||
//GO(xcb_randr_mode_next,
|
||||
//GO(xcb_randr_monitor_info_end,
|
||||
//GO(xcb_randr_monitor_info_next,
|
||||
|
@ -4,11 +4,11 @@
|
||||
|
||||
GO(xcb_shape_combine, pFpuuupwwp)
|
||||
GO(xcb_shape_combine_checked, pFpuuupwwp)
|
||||
//GO(xcb_shape_get_rectangles,
|
||||
//GO(xcb_shape_get_rectangles_rectangles,
|
||||
GO(xcb_shape_get_rectangles, pFppi)
|
||||
GO(xcb_shape_get_rectangles_rectangles, pFp)
|
||||
//GO(xcb_shape_get_rectangles_rectangles_iterator,
|
||||
//GO(xcb_shape_get_rectangles_rectangles_length,
|
||||
//GO(xcb_shape_get_rectangles_reply,
|
||||
GO(xcb_shape_get_rectangles_rectangles_length, iFp)
|
||||
GO(xcb_shape_get_rectangles_reply, pFpup)
|
||||
//GO(xcb_shape_get_rectangles_sizeof,
|
||||
//GO(xcb_shape_get_rectangles_unchecked,
|
||||
DATA(xcb_shape_id, 8)
|
||||
@ -29,7 +29,7 @@ GO(xcb_shape_mask_checked, pFpuuuwwu)
|
||||
GO(xcb_shape_query_version, pFp)
|
||||
GO(xcb_shape_query_version_reply, pFppp)
|
||||
GO(xcb_shape_query_version_unchecked, pFp)
|
||||
//GO(xcb_shape_rectangles,
|
||||
GO(xcb_shape_rectangles, pFpiiCpWWup)
|
||||
//GO(xcb_shape_rectangles_checked,
|
||||
//GO(xcb_shape_rectangles_rectangles,
|
||||
//GO(xcb_shape_rectangles_rectangles_iterator,
|
||||
|
Loading…
Reference in New Issue
Block a user