MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / GetOrSetFunctionHxObject

Method GetOrSetFunctionHxObject

include/hx/Debug.h:120–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118 }
119
120 static Dynamic GetOrSetFunctionHxObject(bool get, void *ptr, Dynamic *dynamic)
121 {
122 if (get) {
123 return * (hx::Object **) ptr;
124 }
125 else {
126 * (hx::Object **)ptr = dynamic->mPtr;
127 return null();
128 }
129 }
130
131
132 StackVariable *&mHead;

Callers

nothing calls this directly

Calls 1

nullClass · 0.50

Tested by

no test coverage detected