Mercurial > libedl
comparison include/util.h @ 13:41b74137e201
include: make header guards sane
double underscores are reserved to the implementation by
the C standard
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Wed, 03 Apr 2024 20:48:51 -0400 |
parents | 0c98b46eaf73 |
children |
comparison
equal
deleted
inserted
replaced
12:0cc2555db371 | 13:41b74137e201 |
---|---|
1 #ifndef __edl__internal__util_h | 1 #ifndef EDL_INTERNAL_UTIL_H_ |
2 #define __edl__internal__util_h | 2 #define EDL_INTERNAL_UTIL_H_ |
3 | 3 |
4 #include <stddef.h> | 4 #include <stddef.h> |
5 | 5 |
6 size_t EDL_internal_strnlen(const char* s, size_t maxlen); | 6 size_t EDL_internal_strnlen(const char* s, size_t maxlen); |
7 char* EDL_internal_strnchr(const char* haystack, char needle, size_t length); | 7 char* EDL_internal_strnchr(const char* haystack, char needle, size_t length); |
8 char* EDL_internal_strdup(const char* s); | 8 char* EDL_internal_strdup(const char* s); |
9 | 9 |
10 #endif /* __edl__internal__util_h */ | 10 #endif /* EDL_INTERNAL_UTIL_H_ */ |