comparison include/str.h @ 8:0c98b46eaf73 v2.0

*: update API to 2.0, big changes all APIs now use pointers to an EDL object. it is up to the user to make sure that the pointer is valid. additionally, many things have been separated into new files to make it easier to digest
author Paper <paper@paper.us.eu.org>
date Sun, 03 Mar 2024 17:56:58 -0500
parents c2408abb258a
children 41b74137e201
comparison
equal deleted inserted replaced
7:fee08fa622e1 8:0c98b46eaf73
12 int EDL_internal_string_init(EDL_internal_string* str); 12 int EDL_internal_string_init(EDL_internal_string* str);
13 int EDL_internal_string_allocate(EDL_internal_string* str, size_t new_capacity); 13 int EDL_internal_string_allocate(EDL_internal_string* str, size_t new_capacity);
14 int EDL_internal_string_append(EDL_internal_string* str, const char* data, const size_t length); 14 int EDL_internal_string_append(EDL_internal_string* str, const char* data, const size_t length);
15 void EDL_internal_string_free(EDL_internal_string* str); 15 void EDL_internal_string_free(EDL_internal_string* str);
16 16
17 #endif // __edl__internal__str_h 17 #endif /* __edl__internal__str_h */