Mercurial > libedl
diff include/util.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 | |
children | 41b74137e201 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/include/util.h Sun Mar 03 17:56:58 2024 -0500 @@ -0,0 +1,10 @@ +#ifndef __edl__internal__util_h +#define __edl__internal__util_h + +#include <stddef.h> + +size_t EDL_internal_strnlen(const char* s, size_t maxlen); +char* EDL_internal_strnchr(const char* haystack, char needle, size_t length); +char* EDL_internal_strdup(const char* s); + +#endif /* __edl__internal__util_h */