MCPcopy Create free account
hub / github.com/eva-engine/eva.js / shallowCopyInternalPointer

Function shallowCopyInternalPointer

examples/public/basis/basis_transcoder.js:464–464  ·  view source on GitHub ↗
(o)

Source from the content-addressed store, hash-verified

462
463 return leftClass === rightClass && left === right;
464 } function shallowCopyInternalPointer(o) { return { count: o.count, deleteScheduled: o.deleteScheduled, preservePointerOnDelete: o.preservePointerOnDelete, ptr: o.ptr, ptrType: o.ptrType, smartPtr: o.smartPtr, smartPtrType: o.smartPtrType }; } function throwInstanceAlreadyDeleted(obj) { function getInstanceTypeName(handle) { return handle.$$.ptrType.registeredClass.name; }throwBindingError(`${getInstanceTypeName(obj)} instance already deleted`); } let finalizationGroup = false;
465
466 function detachFinalizer(handle) {} function runDestructor($$)
467 {

Callers 1

ClassHandle_cloneFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected