# HG changeset patch # User Paper # Date 1705318950 18000 # Node ID fee08fa622e17b268faa2c3f8844d5db5ca3bdc5 # Parent 7137fbac0b85c1c1f6979f550abb00142c244e75 automake: don't expose private strings API also use size_t rather than int for array sizes for... obvious reasons diff -r 7137fbac0b85 -r fee08fa622e1 Makefile.am --- a/Makefile.am Thu Dec 28 16:47:24 2023 -0500 +++ b/Makefile.am Mon Jan 15 06:42:30 2024 -0500 @@ -1,6 +1,6 @@ lib_LTLIBRARIES = libedl.la libedl_la_SOURCES = src/edl.c src/str.c -include_HEADERS = include/edl.h include/str.h +include_HEADERS = include/edl.h AM_CPPFLAGS = -I$(srcdir)/include ACLOCAL_AMFLAGS = -I m4 diff -r 7137fbac0b85 -r fee08fa622e1 include/edl.h --- a/include/edl.h Thu Dec 28 16:47:24 2023 -0500 +++ b/include/edl.h Mon Jan 15 06:42:30 2024 -0500 @@ -49,8 +49,8 @@ typedef struct { EDL_line* arr; - int capacity; - int size; + size_t capacity; + size_t size; } EDL; EDL EDL_parse(const char* text, size_t length);