MCPcopy Create free account
hub / github.com/BlitterStudio/amiberry / nextstring

Function nextstring

src/blkdev_cdimage.cpp:1354–1374  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1352}
1353
1354static TCHAR *nextstring (TCHAR **sp)
1355{
1356 TCHAR *s;
1357 TCHAR *out = NULL;
1358
1359 skipspace (sp);
1360 s = *sp;
1361 if (*s == '\"') {
1362 s++;
1363 out = s;
1364 while (*s && *s != '\"')
1365 s++;
1366 *s++ = 0;
1367 } else if (*s) {
1368 out = s;
1369 skipnspace (&s);
1370 *s++ = 0;
1371 }
1372 *sp = s;
1373 return out;
1374}
1375
1376static int readval (const TCHAR *s)
1377{

Callers 1

parsecueFunction · 0.85

Calls 2

skipspaceFunction · 0.85
skipnspaceFunction · 0.85

Tested by

no test coverage detected