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

Function PeekChar

engine/dlib/src/dlib/configfile.cpp:287–292  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

285 }
286
287 static int PeekChar(Context* context)
288 {
289 int c = BufferGetChar(context);
290 BufferUngetChar(c, context);
291 return c;
292 }
293
294 static void Expect(Context* context, char ch)
295 {

Callers 1

ParseFunction · 0.85

Calls 2

BufferGetCharFunction · 0.85
BufferUngetCharFunction · 0.85

Tested by

no test coverage detected