diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2026-02-19 23:51:36 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2026-02-19 23:51:36 -0500 |
| commit | fde2d5876236c9048ee1112be90c8af41c910149 (patch) | |
| tree | c3693473be21dbd7177f234ec2fa9f4b8a1c9d35 /src/stdlib/paths.h | |
| parent | 29b4aa20ae2a75808adbea63373a7f6c21ac9441 (diff) | |
Paths using C strings
Diffstat (limited to 'src/stdlib/paths.h')
| -rw-r--r-- | src/stdlib/paths.h | 5 |
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]); |
