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

Function id

include/cpp/Variant.h:260–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

258 inline Variant::Variant(const id inObjc) { type=typeObject; valObject = Dynamic(inObjc).mPtr; }
259 #ifdef OBJC_ARC
260 inline Variant::operator id () const { return type==typeObject && valObject ? (__bridge id)valObject->__GetHandle() : 0; }
261 #else
262 inline Variant::operator id () const { return type==typeObject && valObject ? (id)valObject->__GetHandle() : 0; }
263 #endif

Calls 1

__GetHandleMethod · 0.45

Tested by

no test coverage detected