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

Function __hxcpp_atomic_object_load

include/hx/StdLibs.h:561–566  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

559}
560
561inline Dynamic __hxcpp_atomic_object_load(Dynamic dynObj) {
562 AtomicObject *obj = dynamic_cast<AtomicObject *>(dynObj.mPtr);
563 if (!obj)
564 throw HX_INVALID_OBJECT;
565 return obj->load();
566}
567
568inline Dynamic __hxcpp_atomic_object_exchange(Dynamic dynObj, Dynamic newVal) {
569 AtomicObject *obj = dynamic_cast<AtomicObject *>(dynObj.mPtr);

Callers

nothing calls this directly

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected