MCPcopy Create free account
hub / github.com/Tencent/xLua / Push

Method Push

Assets/XLua/Src/ObjectTranslator.cs:1204–1215  ·  view source on GitHub ↗
(RealStatePtr L, LuaCSFunction o)

Source from the content-addressed store, hash-verified

1202 }
1203
1204 public void Push(RealStatePtr L, LuaCSFunction o)
1205 {
1206 if (Utils.IsStaticPInvokeCSFunction(o))
1207 {
1208 LuaAPI.lua_pushstdcallcfunction(L, o);
1209 }
1210 else
1211 {
1212 Push(L, (object)o);
1213 LuaAPI.lua_pushstdcallcfunction(L, metaFunctions.StaticCSFunctionWraper, 1);
1214 }
1215 }
1216
1217 public void Push(RealStatePtr L, LuaBase o)
1218 {

Callers 5

loadUpvalueMethod · 0.80
ReflectionWrapMethod · 0.80
EndObjectRegisterMethod · 0.80
EndClassRegisterMethod · 0.80
InvokeSessionStartMethod · 0.80

Calls 7

lua_pushnilMethod · 0.80
pushMethod · 0.80
TryGetValueMethod · 0.80
xlua_tryget_cachedudMethod · 0.80
xlua_pushcsobjMethod · 0.80

Tested by

no test coverage detected