mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-09 01:00:17 +02:00
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).
17 lines
225 B
C++
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;
|
|
};
|
|
|