175 files, from working commit b1a079a. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
12 lines
557 B
C
12 lines
557 B
C
/* Local70334 main-thread host. No Lua, imports, threads or authentication state.
|
|
* Installed only at an observed frame-queue safepoint on an initialized client.
|
|
* The normal tail forward retains the engine's real caller and return path.
|
|
*/
|
|
#include "engine_poll_host.h"
|
|
__declspec(dllexport) struct PollHost gw_poll_host_data={1,sizeof(struct PollHost)};
|
|
__declspec(dllexport) void gw_poll_host_callback(void *owner) {
|
|
if(!gw_poll_host_data.original_poll)return;
|
|
record_poll(owner);
|
|
((PollFunction)gw_poll_host_data.original_poll)(owner);
|
|
}
|