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

Function GetChar

engine/dlib/src/dlib/configfile.cpp:263–272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261 }
262
263 static int GetChar(Context* context)
264 {
265 int c = BufferGetChar(context);
266 // Ignore '\r' in order to accept DOS-lineendings
267 while (c == '\r')
268 {
269 c = BufferGetChar(context);
270 }
271 return c;
272 }
273
274 static int SafeGetChar(Context* context)
275 {

Callers 4

EatSpaceFunction · 0.70
EatBlankFunction · 0.70
ParseLiteralFunction · 0.70
ParseKeyFunction · 0.70

Calls 1

BufferGetCharFunction · 0.85

Tested by

no test coverage detected