#######################################################################################################################* *-----------------------------------------------------Directory/File------------------------------------------------------* *#########################################################################################################################*/
| 214 | *-----------------------------------------------------Directory/File------------------------------------------------------* |
| 215 | *#########################################################################################################################*/ |
| 216 | void Platform_EncodePath(cc_filepath* dst, const cc_string* path) { |
| 217 | int len = String_CopyToRaw(dst->buffer, sizeof(dst->buffer) - 1, path); |
| 218 | dst->buffer[len] = '\0'; // Always null terminate just in case |
| 219 | } |
| 220 | |
| 221 | void Platform_DecodePath(cc_string* dst, const cc_filepath* path) { |
| 222 | String_AppendConst(dst, path->buffer); |
nothing calls this directly
no test coverage detected