Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/defold/defold
/ IsBuffer
Function
IsBuffer
engine/gamesys/src/gamesys/scripts/script_buffer.cpp:1241–1244 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1239
}
1240
1241
bool IsBuffer(lua_State *L, int index)
1242
{
1243
return dmScript::GetUserType(L, index) == SCRIPT_BUFFER_TYPE_HASH;
1244
}
1245
1246
void PushBuffer(lua_State* L, const dmScript::LuaHBuffer& v)
1247
{
Callers
1
TEST_F
Function · 0.85
Calls
1
GetUserType
Function · 0.85
Tested by
1
TEST_F
Function · 0.68