aboutsummaryrefslogtreecommitdiff
path: root/builtins/table.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-09-02 18:47:39 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-09-02 18:47:39 -0400
commit61e482f6f36aee6f72392a6188f2ec5c858b88fd (patch)
treebea4123fcc62dd834405ae89ce9fe260e90a0023 /builtins/table.h
parentf0f8f218703ebb4512b3cd3f9e06b86a7d9861b0 (diff)
Initial WIP first past
Diffstat (limited to 'builtins/table.h')
-rw-r--r--builtins/table.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtins/table.h b/builtins/table.h
index 0ff4cb91..da60b3be 100644
--- a/builtins/table.h
+++ b/builtins/table.h
@@ -74,7 +74,7 @@ void Table$mark_copy_on_write(table_t *t);
int32_t Table$compare(const table_t *x, const table_t *y, const TypeInfo *type);
bool Table$equal(const table_t *x, const table_t *y, const TypeInfo *type);
uint32_t Table$hash(const table_t *t, const TypeInfo *type);
-CORD Table$as_text(const table_t *t, bool colorize, const TypeInfo *type);
+Text_t Table$as_text(const table_t *t, bool colorize, const TypeInfo *type);
void *Table$str_entry(table_t t, int64_t n);
void *Table$str_get(table_t t, const char *key);
@@ -85,6 +85,6 @@ void Table$str_remove(table_t *t, const char *key);
#define Table$length(t) ((t).entries.length)
-extern const TypeInfo StrToVoidStarTable;
+extern const TypeInfo CStrToVoidStarTable;
// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1