Make `is_sep` a public symbol
This commit is contained in:
parent
c49726b8b8
commit
7a7313da7f
|
@ -3,10 +3,7 @@
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
static const uint8_t GARGOYLE_CMP_ICASE = 1 << 0;
|
uint8_t is_sep(char tok);
|
||||||
static const uint8_t GARGOYLE_CMP_SYMBL = 1 << 1;
|
|
||||||
static const uint8_t GARGOYLE_CMP_FLXBL = GARGOYLE_CMP_ICASE | GARGOYLE_CMP_SYMBL;
|
|
||||||
|
|
||||||
uint8_t gargoyle_cmp(const char *s1, const char *s2, uint16_t len, uint8_t flags);
|
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);
|
char *gargoyle_cpy(char *dst, const char *src, uint16_t len);
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <gargoyle/twine.h>
|
#include <gargoyle/twine.h>
|
||||||
|
|
||||||
static uint8_t is_sep(char tok) {
|
uint8_t is_sep(char tok) {
|
||||||
return (tok == '_' || tok == '-');
|
return (tok == '_' || tok == '-');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue