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

Function NodeProxy_newindex

engine/gui/src/gui_script.cpp:424–432  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

422 }
423
424 static int NodeProxy_newindex(lua_State *L)
425 {
426 HNode hnode;
427 InternalNode* n = LuaCheckNodeInternal(L, 1, &hnode);
428 (void)n;
429 const char* key = luaL_checkstring(L, 2);
430
431 return luaL_error(L, "Illegal operation, try %s.set_%s(<node>, <value>)", LIB_NAME, key);
432 }
433
434 static int NodeProxy_eq(lua_State *L)
435 {

Callers

nothing calls this directly

Calls 2

LuaCheckNodeInternalFunction · 0.85
luaL_errorFunction · 0.85

Tested by

no test coverage detected