MCPcopy Create free account
hub / github.com/carbonengine/trinity / GetNextWord

Function GetNextWord

shadercompiler/ModifiedTime.cpp:17–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15CachingIncludeHandler s_includeHandler;
16
17char* GetNextWord( char* string )
18{
19
20 char* end = string;
21 while( *end && *end != ' ' && *end != '\n' )
22 {
23 ++end;
24 }
25 switch( *end )
26 {
27 case 0:
28 return end;
29 case '\n':
30 *end = 0;
31 return end;
32 default:
33 *end = 0;
34 return end + 1;
35 }
36}
37
38
39struct HashCheckArguments

Callers 1

PrintOutOfDateFilesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected