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

Function IsValidOwner

engine/gamesys/src/gamesys/scripts/script_buffer.cpp:1236–1239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1234 }
1235
1236 static inline bool IsValidOwner(LuaBufferOwnership ownership)
1237 {
1238 return ownership == dmScript::OWNER_C || ownership == dmScript::OWNER_LUA || ownership == dmScript::OWNER_RES;
1239 }
1240
1241 bool IsBuffer(lua_State *L, int index)
1242 {

Callers 1

PushBufferFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected