diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-04-10 13:23:49 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-04-10 13:23:49 -0400 |
| commit | e6f78f1d89acb038cf7893c325ee9acf61a555ad (patch) | |
| tree | 77995a17758c8dc6599033ba4f7dccfb8fc42244 /builtins/integers.h | |
| parent | ccb9e367047148f5b15316b667a139106858ab61 (diff) | |
Add from_text() method for ints/nums
Diffstat (limited to 'builtins/integers.h')
| -rw-r--r-- | builtins/integers.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtins/integers.h b/builtins/integers.h index 8ee78789..707bc5c8 100644 --- a/builtins/integers.h +++ b/builtins/integers.h @@ -27,6 +27,7 @@ CORD type_name ## $octal(c_type i, int64_t digits, bool prefix); \ array_t type_name ## $bits(c_type x); \ c_type type_name ## $random(int64_t min, int64_t max); \ + c_type type_name ## $from_text(CORD text, CORD *the_rest); \ extern const c_type type_name ## $min, type_name##$max; \ extern const TypeInfo $ ## type_name; |
