MCPcopy Create free account
hub / github.com/DavidColson/Polybox / Set

Function Set

source/userdata.cpp:322–327  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

320
321// ***********************************************************************
322i32 Set(lua_State* L) {
323 UserData* pUserData = (UserData*)luaL_checkudata(L, 1, "UserData");
324 i32 index = (i32)luaL_checkinteger(L, 2);
325 SetImpl(L, pUserData, index, 3);
326 return 0;
327}
328
329// ***********************************************************************
330

Callers

nothing calls this directly

Calls 1

SetImplFunction · 0.85

Tested by

no test coverage detected