changeset 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
files Makefile.am include/edl.h
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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);