From fde2d5876236c9048ee1112be90c8af41c910149 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 19 Feb 2026 23:51:36 -0500 Subject: Paths using C strings --- src/stdlib/paths.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/stdlib/paths.h') diff --git a/src/stdlib/paths.h b/src/stdlib/paths.h index c272314c..376ad834 100644 --- a/src/stdlib/paths.h +++ b/src/stdlib/paths.h @@ -11,11 +11,6 @@ Path_t Path$from_str(const char *str); Path_t Path$from_text(Text_t text); -// This function is defined as an extern in `src/stdlib/print.h` -// int Path$print(FILE *f, Path_t path); -// UNSAFE: this works because each type of path has a .components in the same place -#define Path$components(path) ((path).components) -// END UNSAFE const char *Path$as_c_string(Path_t path); #define Path(str) Path$from_str(str) Path_t Path$_concat(int n, Path_t items[n]); -- cgit v1.2.3