From 1945dbf8345a2b59e9057d21e38c78913272bdaa Mon Sep 17 00:00:00 2001 From: kartofen Date: Sat, 16 Nov 2024 17:20:23 +0200 Subject: cleanup and minor refactoring --- src/value.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/value.h') diff --git a/src/value.h b/src/value.h index f5f66d3..48d178c 100644 --- a/src/value.h +++ b/src/value.h @@ -77,6 +77,12 @@ void value_destroy(value_t value); value_t value_from_token(struct token *token); value_t value_copy(value_t value); + int value_string(value_t value, size_t buf_sz, char *buf); +char *value_static_string(value_t value); + +#ifdef DEBUG +void value_print(value_t value); +#endif #endif -- cgit v1.2.3