Make `is_sep` a public symbol

This commit is contained in:
Nick Chambers 2022-06-26 21:35:57 -05:00
parent c49726b8b8
commit 7a7313da7f
2 changed files with 2 additions and 5 deletions

View File

@ -3,10 +3,7 @@
#include <stdint.h>
static const uint8_t GARGOYLE_CMP_ICASE = 1 << 0;
static const uint8_t GARGOYLE_CMP_SYMBL = 1 << 1;
static const uint8_t GARGOYLE_CMP_FLXBL = GARGOYLE_CMP_ICASE | GARGOYLE_CMP_SYMBL;
uint8_t is_sep(char tok);
uint8_t gargoyle_cmp(const char *s1, const char *s2, uint16_t len, uint8_t flags);
char *gargoyle_cpy(char *dst, const char *src, uint16_t len);

View File

@ -1,7 +1,7 @@
#include <ctype.h>
#include <gargoyle/twine.h>
static uint8_t is_sep(char tok) {
uint8_t is_sep(char tok) {
return (tok == '_' || tok == '-');
}