comparison include/edl.h @ 6:7137fbac0b85

edl: expose EDL_reallocate() API to allow resizing the array
author Paper <mrpapersonic@gmail.com>
date Thu, 28 Dec 2023 16:47:24 -0500
parents c2408abb258a
children fee08fa622e1
comparison
equal deleted inserted replaced
5:a6ab6d9c0dac 6:7137fbac0b85
52 int capacity; 52 int capacity;
53 int size; 53 int size;
54 } EDL; 54 } EDL;
55 55
56 EDL EDL_parse(const char* text, size_t length); 56 EDL EDL_parse(const char* text, size_t length);
57 int EDL_reallocate(EDL* edl, size_t new_capacity);
57 char* EDL_dump(EDL edl); 58 char* EDL_dump(EDL edl);
58 void EDL_free(EDL edl); 59 void EDL_free(EDL edl);
59 60
60 #ifdef __cplusplus 61 #ifdef __cplusplus
61 } 62 }