MCPcopy Create free account
hub / github.com/ValveSoftware/Proton / wow64_steamclient_dos_to_unix_path_array

Function wow64_steamclient_dos_to_unix_path_array

lsteamclient/unixlib.cpp:1093–1106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1091}
1092
1093const char **wow64_steamclient_dos_to_unix_path_array( ptr32< const char ** > src_array )
1094{
1095 ptr32< const char * > *ptr = src_array, *end = src_array;
1096 const char **array, **ret;
1097
1098 while (*end) end++;
1099 array = new const char *[end - ptr + 1];
1100 for (end = ptr; *end; end++) array[end - ptr] = *end;
1101
1102 ret = steamclient_dos_to_unix_path_array( array );
1103
1104 delete array;
1105 return ret;
1106}
1107
1108void steamclient_free_path_array( const char **path_array )
1109{

Calls 1

Tested by

no test coverage detected