|
|
@ -32,10 +32,10 @@ Be sure to path_free() after use. |
|
|
|
char* path_join(unsigned int count, ...); |
|
|
|
char* path_join(unsigned int count, ...); |
|
|
|
|
|
|
|
|
|
|
|
// Frees path and sets pointer to NULL
|
|
|
|
// Frees path and sets pointer to NULL
|
|
|
|
void path_free(char* path); |
|
|
|
void path_free(char** path); |
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
/*
|
|
|
|
Creates a new path pointing to the parent. |
|
|
|
Creates a new path pointing to the parent. |
|
|
|
Be sure to path_free() on the base as well after use. |
|
|
|
Be sure to path_free() on the base as well after use. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
char* path_parent(const char* path); |
|
|
|
char* path_parent(const char* path); |
|
|
|