Mercurial > libedl
view include/util.h @ 12:0cc2555db371
*: make our string functions not stupid
strncat() made everything slow!
new addition internally: an EDL_header structure to make things
not stupid. if we were using C++ it wouldn't really be necessary,
but alas :)
| author | Paper <paper@paper.us.eu.org> |
|---|---|
| date | Wed, 27 Mar 2024 13:38:30 -0400 |
| parents | 0c98b46eaf73 |
| children | 41b74137e201 |
line wrap: on
line source
#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 */
