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

Method FromBoxed

include/cpp/marshal/PointerType.hpp:12–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10
11template<class T>
12inline T* cpp::marshal::PointerType<T>::FromBoxed(const Boxed<TPtr>& inRHS)
13{
14 if (nullptr == inRHS.mPtr)
15 {
16 return nullptr;
17 }
18
19 return inRHS->value;
20}
21
22template<class T>
23inline T* cpp::marshal::PointerType<T>::FromReference(const PointerReference<T>& inRHS)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected