diff options
author | pommicket <pommicket@gmail.com> | 2023-01-03 11:46:30 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-01-03 11:46:30 -0500 |
commit | 7428d8a59298d6a7e45cfdbfa937a770393aaa1c (patch) | |
tree | 9b381abc8774cda9dd2fad25a0ec97c0670cd8b5 /ted.h | |
parent | dbdafec9069e69005b523bc60acbfcb59224078d (diff) |
make node.c a bit clearer
Diffstat (limited to 'ted.h')
-rw-r--r-- | ted.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1038,6 +1038,8 @@ void die(PRINTF_FORMAT_STRING const char *fmt, ...) ATTRIBUTE_PRINTF(1, 2); void ted_seterr(Ted *ted, PRINTF_FORMAT_STRING const char *fmt, ...) ATTRIBUTE_PRINTF(2, 3); // for information that should be logged void ted_log(Ted *ted, PRINTF_FORMAT_STRING const char *fmt, ...) ATTRIBUTE_PRINTF(2, 3); +// set error to "out of memory" message. +void ted_out_of_mem(Ted *ted); void *ted_malloc(Ted *ted, size_t size); void *ted_calloc(Ted *ted, size_t n, size_t size); void *ted_realloc(Ted *ted, void *p, size_t new_size); |