diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-12-28 17:21:13 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-12-28 17:21:13 -0500 |
| commit | 469030e9686e81c520c2ecbeab703a07361f51a4 (patch) | |
| tree | 67f4dfc1a6a8b2be1486e82fb0913332b74a01f1 /src | |
| parent | 2bb7704b128169c4ef8bc8ff980be4847e7eedb5 (diff) | |
| parent | b80e21ce3d673d981e44a725c62b62563a77db9b (diff) | |
Merge branch 'dev' into static-dependencies
Diffstat (limited to 'src')
| -rw-r--r-- | src/stdlib/tables.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdlib/tables.c b/src/stdlib/tables.c index d4a51276..81cccceb 100644 --- a/src/stdlib/tables.c +++ b/src/stdlib/tables.c @@ -317,7 +317,7 @@ CONSTFUNC public void *Table$entry(Table_t t, int64_t n) { } public -void Table$clear(Table_t *t) { memset(t, 0, sizeof(Table_t)); } +void Table$clear(Table_t *t) { *t = EMPTY_TABLE; } public Table_t Table$sorted(Table_t t, const TypeInfo_t *type) { |
