MCPcopy Create free account
hub / github.com/Tencent/UnLua / CaptureStruct

Method CaptureStruct

Plugins/UnLua/Source/UnLua/Private/LuaDanglingCheck.cpp:108–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106 }
107
108 void FDanglingCheck::CaptureStruct(lua_State* L, void* Value)
109 {
110 if (!GuardCount)
111 return;
112 CapturedStructs.Add(Value);
113 }
114
115 void FDanglingCheck::CaptureContainer(lua_State* L, void* Value)
116 {

Callers 1

PushPointerFunction · 0.80

Calls 1

AddMethod · 0.45

Tested by

no test coverage detected