aboutsummaryrefslogtreecommitdiff
path: root/builtins/datatypes.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-08-10 16:03:41 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-08-10 16:03:41 -0400
commitb37bd70b602b7ac6427dcf29f7cd9241b0a7ae09 (patch)
treeafa3ba4caebb728c43b96e176b8a569b3ad5f469 /builtins/datatypes.h
parent671f81137ee2e5de632526109e02c4b79197e432 (diff)
For tables, deprecate support for square bracket indexing and .default
values, replacing them with a `:bump()` function for tables with numeric values. This means that counters can be implemented easily without the need to mask complexity.
Diffstat (limited to 'builtins/datatypes.h')
-rw-r--r--builtins/datatypes.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/builtins/datatypes.h b/builtins/datatypes.h
index 12c7cbc4..b0f62d03 100644
--- a/builtins/datatypes.h
+++ b/builtins/datatypes.h
@@ -47,7 +47,6 @@ typedef struct table_s {
array_t entries;
bucket_info_t *bucket_info;
struct table_s *fallback;
- void *default_value;
} table_t;
typedef struct {