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

Method fromHandle

include/cpp/Pointer.h:541–546  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

539
540
541 inline static AutoCast fromHandle(Dynamic inValue, String inKind)
542 {
543 if (inValue==null() || (inKind!=null() && inKind!=__hxcpp_get_kind(inValue)))
544 return AutoCast(0);
545 return AutoCast(inValue->__GetHandle());
546 }
547};
548
549

Callers

nothing calls this directly

Calls 4

__hxcpp_get_kindFunction · 0.85
AutoCastClass · 0.85
nullClass · 0.50
__GetHandleMethod · 0.45

Tested by

no test coverage detected