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

Function IsStream

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

Source from the content-addressed store, hash-verified

145 }
146
147 static bool IsStream(lua_State *L, int index)
148 {
149 return dmScript::GetUserType(L, index) == dmScript::SCRIPT_BUFFERSTREAM_TYPE_HASH;
150 }
151
152 template<typename T>
153 lua_Number GetStreamValue(void* data, int index)

Callers 1

CopyStreamFunction · 0.85

Calls 1

GetUserTypeFunction · 0.85

Tested by

no test coverage detected