Mercurial > libedl
comparison include/edl.h @ 7:fee08fa622e1
automake: don't expose private strings API
also use size_t rather than int for array sizes for... obvious reasons
| author | Paper <mrpapersonic@gmail.com> |
|---|---|
| date | Mon, 15 Jan 2024 06:42:30 -0500 |
| parents | 7137fbac0b85 |
| children | 0c98b46eaf73 |
comparison
equal
deleted
inserted
replaced
| 6:7137fbac0b85 | 7:fee08fa622e1 |
|---|---|
| 47 int channels; | 47 int channels; |
| 48 } EDL_line; | 48 } EDL_line; |
| 49 | 49 |
| 50 typedef struct { | 50 typedef struct { |
| 51 EDL_line* arr; | 51 EDL_line* arr; |
| 52 int capacity; | 52 size_t capacity; |
| 53 int size; | 53 size_t 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 int EDL_reallocate(EDL* edl, size_t new_capacity); |
| 58 char* EDL_dump(EDL edl); | 58 char* EDL_dump(EDL edl); |
