Files
FEX-Emu--FEX/ThunkLibs/libxcb/WorkEventData.h
T
Tony Wasserka a2c02ae51e Thunks: Use libclang-based code generation for libxcb
Notably, xcb_take_socket uses the callback_guest annotation, since the
given callback is never called on the host (instead it's manually forwarded
back to a helper guest thread for calling).
2021-12-10 11:24:59 +01:00

17 lines
225 B
C++

#pragma once
#include <cstdint>
#ifndef GUEST_THUNK_LIBRARY
#include "../include/common/Host.h"
#endif
struct CBWork {
#ifdef GUEST_THUNK_LIBRARY
uintptr_t cb;
#else
fex_guest_function_ptr cb;
#endif
void *argsv;
};