mirror of
https://github.com/FEX-Emu/FEX.git
synced 2025-02-11 09:56:46 +00:00
![Tony Wasserka](/assets/img/avatar_default.png)
Interface definitions must enable this functionality by enclosing functions that may be called through function pointers in a namespace annotated with `fexgen::indirect_guest_calls`. The guest thunk must further link any host function pointers to a guest-side instance of CallHostThunkFromRuntimePointer.
17 lines
431 B
C++
17 lines
431 B
C++
namespace fexgen {
|
|
struct returns_guest_pointer {};
|
|
struct custom_host_impl {};
|
|
struct custom_guest_entrypoint {};
|
|
|
|
struct generate_guest_symtable {};
|
|
struct indirect_guest_calls {};
|
|
|
|
struct callback_annotation_base {
|
|
// Prevent annotating multiple callback strategies
|
|
bool prevent_multiple;
|
|
};
|
|
struct callback_stub : callback_annotation_base {};
|
|
struct callback_guest : callback_annotation_base {};
|
|
|
|
} // namespace fexgen
|