From ad5d76d3cc0afe669a66075d70b34813d090f98b Mon Sep 17 00:00:00 2001 From: Abdelrahman Date: Sat, 24 Feb 2024 14:51:03 +0000 Subject: [PATCH] Update namespace for cpath functions --- cpath/include/cpath.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cpath/include/cpath.h b/cpath/include/cpath.h index 1248497..99bbaa6 100644 --- a/cpath/include/cpath.h +++ b/cpath/include/cpath.h @@ -6,10 +6,10 @@ #define NUMPARTS(...) \ (sizeof((const char *[]){"", __VA_ARGS__}) / sizeof(const char *) - 1) -#define wapp_join_path(DST, ...) \ +#define cpath_join_path(DST, ...) \ join_path(DST, NUMPARTS(__VA_ARGS__), __VA_ARGS__) -#define wapp_dirname(DST, PATH) dirup(DST, 1, PATH) -#define wapp_dirup(DST, COUNT, PATH) dirup(DST, COUNT, PATH) +#define cpath_dirname(DST, PATH) dirup(DST, 1, PATH) +#define cpath_dirup(DST, COUNT, PATH) dirup(DST, COUNT, PATH) void join_path(char *dst, u64 count, ...); void dirup(char *dst, u64 levels, const char *path);