diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-09-21 16:54:36 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-09-21 16:54:36 -0400 |
| commit | 1cec086a6034ad546977cae7aeaf4bb876d21970 (patch) | |
| tree | cd2889aea7ca830359ba329a3f82b96e706bcdee /src/stdlib/stdlib.h | |
| parent | 0ab878ff4f72f7f6f6f64c1fc5d8023cd19fbe82 (diff) | |
Deprecate `>> x ... = val` form of doctests and rename them to 'debugdoctests-to-debuglog
logs', also add multi-expression support
Diffstat (limited to 'src/stdlib/stdlib.h')
| -rw-r--r-- | src/stdlib/stdlib.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/stdlib/stdlib.h b/src/stdlib/stdlib.h index 9bae5a6c..e52b5cd1 100644 --- a/src/stdlib/stdlib.h +++ b/src/stdlib/stdlib.h @@ -69,14 +69,6 @@ void end_inspect(const void *expr, const TypeInfo_t *type); expr; \ end_inspect(NULL, typeinfo); \ } -__attribute__((nonnull)) void test_value(const char *filename, int64_t start, int64_t end, const void *expr, - const void *expected, const TypeInfo_t *type); -#define test(type, expr, expected, typeinfo, start, end) \ - { \ - type _expr = expr; \ - type _expected = expected; \ - test_value(__SOURCE_FILE__, start, end, &_expr, &_expected, typeinfo); \ - } void say(Text_t text, bool newline); Text_t ask(Text_t prompt, bool bold, bool force_tty); |
