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

Function PointerOf

include/hx/GcTypeInference.h:88–88  ·  view source on GitHub ↗

Locate potential GC pointer inside member

Source from the content-addressed store, hash-verified

86
87// Locate potential GC pointer inside member
88inline const void *PointerOf( ::Dynamic &d) { return d.mPtr; }
89inline const void *PointerOf( ::String &s) { return s.raw_ptr(); }
90template<typename T> inline const void *PointerOf( ::Array<T> &a) { return a.mPtr; }
91template<typename T> inline const void *PointerOf( ::hx::ObjectPtr<T> &o) { return o.mPtr; }

Callers 15

TSetMethod · 0.85
runIntMethod · 0.85
runFloatMethod · 0.85
runStringMethod · 0.85
runObjectMethod · 0.85
nativeRunIntMethod · 0.85
nativeRunFloatMethod · 0.85
nativeRunObjectMethod · 0.85
nativeRunStringMethod · 0.85
runIntMethod · 0.85
runFloatMethod · 0.85
runStringMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected