aboutsummaryrefslogtreecommitdiff
path: root/src/stdlib/paths.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2026-02-19 23:51:36 -0500
committerBruce Hill <bruce@bruce-hill.com>2026-02-19 23:51:36 -0500
commitfde2d5876236c9048ee1112be90c8af41c910149 (patch)
treec3693473be21dbd7177f234ec2fa9f4b8a1c9d35 /src/stdlib/paths.h
parent29b4aa20ae2a75808adbea63373a7f6c21ac9441 (diff)
Paths using C strings
Diffstat (limited to 'src/stdlib/paths.h')
-rw-r--r--src/stdlib/paths.h5
1 files changed, 0 insertions, 5 deletions
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]);