#######################################################################################################################* *-----------------------------------------------------Directory/File------------------------------------------------------* *#########################################################################################################################*/
| 135 | *-----------------------------------------------------Directory/File------------------------------------------------------* |
| 136 | *#########################################################################################################################*/ |
| 137 | void Platform_EncodePath(cc_filepath* dst, const cc_string* path) { |
| 138 | int len = String_CopyToRaw(dst->buffer, sizeof(dst->buffer) - 1, path); |
| 139 | dst->buffer[len] = '\0'; // Always null terminate just in case |
| 140 | } |
| 141 | |
| 142 | void Platform_DecodePath(cc_string* dst, const cc_filepath* path) { |
| 143 | String_AppendConst(dst, path->buffer); |
nothing calls this directly
no test coverage detected