MCPcopy Create free account
hub / github.com/defold/defold / CsLuaMul

Method CsLuaMul

engine/lua/src/test/cs/test_lua.cs:29–35  ·  view source on GitHub ↗
(Lua.State* L)

Source from the content-addressed store, hash-verified

27 }
28
29 private static int CsLuaMul(Lua.State* L)
30 {
31 int a = LuaL.checkinteger(L, 1);
32 int b = LuaL.checkinteger(L, 2);
33 Lua.pushinteger(L, a * b);
34 return 1;
35 }
36
37 [UnmanagedCallersOnly(EntryPoint = "csRunTestsLua")]
38 public static int csRunTestsLua(Lua.State* L)

Callers

nothing calls this directly

Calls 2

checkintegerMethod · 0.80
pushintegerMethod · 0.80

Tested by

no test coverage detected