From 492b9cd1ecc234ea8f3080b305103702d2ca772b Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Sat, 7 Jan 2017 23:30:35 +0100 Subject: Starting to rewrite the knowledge stuff. --- src/core/char.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/core/char.h (limited to 'src/core/char.h') diff --git a/src/core/char.h b/src/core/char.h new file mode 100644 index 0000000..772a3a2 --- /dev/null +++ b/src/core/char.h @@ -0,0 +1,21 @@ +#ifndef _ZoO_CORE_CHAR_H_ +#define _ZoO_CORE_CHAR_H_ + +#include "char_types.h" + +enum ZoO_word_property ZoO_get_word_property +( + const ZoO_char word [const restrict], + size_t word_size +); + +int ZoO_word_cmp +( + const ZoO_char word_a [const static 1], + const ZoO_char word_b [const static 1] +); + +int ZoO_char_is_punctuation (const ZoO_char c); +int ZoO_word_char_is_banned (const ZoO_char c); + +#endif -- cgit v1.2.3-70-g09d2