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

Function BufferGetChar

engine/dlib/src/dlib/configfile.cpp:242–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

240 }
241
242 static int BufferGetChar(Context* context)
243 {
244 if (context->m_BufferPos >= context->m_BufferSize)
245 return 0;
246 return context->m_Buffer[context->m_BufferPos++];
247 }
248
249 static bool BufferEof(Context* context)
250 {

Callers 3

GetCharFunction · 0.85
SafeGetCharFunction · 0.85
PeekCharFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected