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

Function deleteConstructorClassID

class.go:42–47  ·  view source on GitHub ↗
(ctx *Context, constructor C.JSValue)

Source from the content-addressed store, hash-verified

40}
41
42func deleteConstructorClassID(ctx *Context, constructor C.JSValue) {
43 if ctx == nil || ctx.runtime == nil {
44 return
45 }
46 ctx.runtime.constructorRegistry.Delete(jsValueToKey(constructor))
47}
48
49// =============================================================================
50// CLASS FINALIZER INTERFACE

Calls 2

jsValueToKeyFunction · 0.85
DeleteMethod · 0.45