MCPcopy Create free account
hub / github.com/ZLMediaKit/pymkui / shallowCopyInternalPointer

Function shallowCopyInternalPointer

frontend/js/lib/decoder.js:3528–3538  ·  view source on GitHub ↗
(o)

Source from the content-addressed store, hash-verified

3526 return leftClass === rightClass && left === right;
3527 }
3528 function shallowCopyInternalPointer(o) {
3529 return {
3530 count: o.count,
3531 deleteScheduled: o.deleteScheduled,
3532 preservePointerOnDelete: o.preservePointerOnDelete,
3533 ptr: o.ptr,
3534 ptrType: o.ptrType,
3535 smartPtr: o.smartPtr,
3536 smartPtrType: o.smartPtrType
3537 };
3538 }
3539 function throwInstanceAlreadyDeleted(obj) {
3540 function getInstanceTypeName(handle) {
3541 return handle.$$.ptrType.registeredClass.name;

Callers 1

ClassHandle_cloneFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected