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

Function NullReference

src/hx/Debug.cpp:478–487  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

476
477
478HXCPP_EXTERN_CLASS_ATTRIBUTES void NullReference(const char *type, bool allowFixup)
479{
480#ifdef HXCPP_DEBUGGER
481 String err(HX_CSTRING("Null ") + String(type) + HX_CSTRING(" Reference"));
482 if (__hxcpp_dbg_fix_critical_error(err))
483 return;
484#endif
485
486 __hxcpp_dbg_checkedThrow(HX_CSTRING("Null Object Reference"));
487}
488
489
490} // end namspace hx

Callers 15

ThrowBadFunctionErrorMethod · 0.85
isEncodedMethod · 0.85
encodeMethod · 0.85
getByteCountMethod · 0.85
getCharCountMethod · 0.85
GCCheckPointerMethod · 0.85
GCOnNewPointerMethod · 0.85
operator()Method · 0.85
CheckGetPtrMethod · 0.85
fromDynamicMethod · 0.85
checkBaseFunction · 0.85

Calls 3

__hxcpp_dbg_checkedThrowFunction · 0.70
StringClass · 0.50

Tested by

no test coverage detected