summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2017-01-07 23:30:35 +0100
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2017-01-07 23:30:35 +0100
commit492b9cd1ecc234ea8f3080b305103702d2ca772b (patch)
tree730c1a65fa3be618f3c3609bc27f006c435efc82 /src/core/char.h
parentb349789ad116a610c18238237b7369e6b49382dc (diff)
Starting to rewrite the knowledge stuff.
Diffstat (limited to 'src/core/char.h')
-rw-r--r--src/core/char.h21
1 files changed, 21 insertions, 0 deletions
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