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

Method GetObjectPtr

include/hx/Debug.h:158–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156
157 template<typename T>
158 static Dynamic GetObjectPtr(bool get, void *ptr, Dynamic *val)
159 {
160 if (get) {
161 return *(hx::Object **) ptr;
162 }
163 else {
164 return null();
165 }
166 }
167
168
169 template<typename T>

Callers

nothing calls this directly

Calls 1

nullClass · 0.50

Tested by

no test coverage detected