MCPcopy Create free account
hub / github.com/ceifa/wasmoon / pushValue

Method pushValue

src/type-extensions/userdata.ts:56–62  ·  view source on GitHub ↗
(thread: Thread, decoratedValue: Decoration<any, UserdataDecorationOptions>)

Source from the content-addressed store, hash-verified

54 }
55
56 public pushValue(thread: Thread, decoratedValue: Decoration<any, UserdataDecorationOptions>): boolean {
57 if (!decoratedValue.options.reference) {
58 return false
59 }
60
61 return super.pushValue(thread, decoratedValue)
62 }
63
64 public close(): void {
65 this.thread.lua.module.removeFunction(this.gcPointer)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected