aboutsummaryrefslogtreecommitdiff
path: root/builtins/path.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-09-11 13:56:39 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-09-11 13:56:39 -0400
commit75fbaa79bc88abe8868cb4508e9ab9390cb7b329 (patch)
treec9a66af84908aa6ce188344ffa7d962a88ba95f2 /builtins/path.c
parentb0b23acf887bec28b5ef8d0dfe448c4228ee0eb3 (diff)
Rename closure_t -> Closure_t for consistency
Diffstat (limited to 'builtins/path.c')
-rw-r--r--builtins/path.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtins/path.c b/builtins/path.c
index 096cbdd0..ab032927 100644
--- a/builtins/path.c
+++ b/builtins/path.c
@@ -456,7 +456,7 @@ static NextLine_t _next_line(FILE **f)
return NextLine$tagged$Next(line_text);
}
-public closure_t Path$by_line(Path_t path)
+public Closure_t Path$by_line(Path_t path)
{
path = Path$_expand_home(path);
@@ -467,7 +467,7 @@ public closure_t Path$by_line(Path_t path)
FILE **wrapper = GC_MALLOC(sizeof(FILE*));
*wrapper = f;
GC_register_finalizer(wrapper, (void*)_line_reader_cleanup, NULL, NULL, NULL);
- return (closure_t){.fn=(void*)_next_line, .userdata=wrapper};
+ return (Closure_t){.fn=(void*)_next_line, .userdata=wrapper};
}
public const TypeInfo Path$info = {