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

Method FromReference

include/cpp/marshal/PointerType.hpp:23–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21
22template<class T>
23inline T* cpp::marshal::PointerType<T>::FromReference(const PointerReference<T>& inRHS)
24{
25 if (nullptr == inRHS.ptr)
26 {
27 return nullptr;
28 }
29
30 return *inRHS.ptr;
31}
32
33template<class T>
34inline cpp::marshal::PointerType<T>::PointerType() : value(nullptr) {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected