diff options
Diffstat (limited to 'qstd/str.h')
-rw-r--r-- | qstd/str.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -5,6 +5,7 @@ #include <stdint.h> struct Arena; +struct Heap; uint64_t fnv1a64(uint8_t* buf, size_t size); uint64_t fnv1a64_2(uint64_t h, uint8_t* buf, size_t size); @@ -14,5 +15,6 @@ int string_equal(const char* a, const char* b); int string_copy(char* dst, const char* src); int string_len(const char* s); char* dup_string(struct Arena* a, const char* s); +char* dup_stringh(struct Heap* h, const char* s); #endif |