MCPcopy Create free account
hub / github.com/JACoders/OpenJK / Sys_CountFileList

Function Sys_CountFileList

code/qcommon/files.cpp:2231–2244  ·  view source on GitHub ↗

======================= Sys_ConcatenateFileLists mkv: Naive implementation. Concatenates three lists into a new list, and frees the old lists from the heap. bk001129 - from cvs1.17 (mkv) FIXME TTimo those two should move to common.c next to Sys_ListFiles ======================= */

Source from the content-addressed store, hash-verified

2229=======================
2230 */
2231static unsigned int Sys_CountFileList(char **fileList)
2232{
2233 int i = 0;
2234
2235 if (fileList)
2236 {
2237 while (*fileList)
2238 {
2239 fileList++;
2240 i++;
2241 }
2242 }
2243 return i;
2244}
2245
2246static char** Sys_ConcatenateFileLists( char **list0, char **list1, char **list2 )
2247{

Callers 2

Sys_ConcatenateFileListsFunction · 0.70
FS_GetModListFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected