MCPcopy Create free account
hub / github.com/buke/quickjs-go / interruptHandler

Function interruptHandler

bridge.c:864–867  ·  view source on GitHub ↗

Simplified interrupt handler (no handlerArgs complexity)

Source from the content-addressed store, hash-verified

862
863// Simplified interrupt handler (no handlerArgs complexity)
864int interruptHandler(JSRuntime *rt, void *opaque) {
865 JSRuntime *runtimePtr = (JSRuntime*)opaque;
866 return goInterruptHandler(runtimePtr);
867}
868
869void SetInterruptHandler(JSRuntime *rt) {
870 // Use rt itself as opaque parameter for Go lookup

Callers

nothing calls this directly

Calls 1

goInterruptHandlerFunction · 0.85

Tested by

no test coverage detected