From 1373211465c34015ee900e097aa87fbffb401187 Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Sun, 29 Jan 2017 19:54:26 +0100 Subject: Trying out ACSL, continuing implementation. --- src/knowledge/knowledge.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/knowledge/knowledge.h') diff --git a/src/knowledge/knowledge.h b/src/knowledge/knowledge.h index 872bb94..c65ee2c 100644 --- a/src/knowledge/knowledge.h +++ b/src/knowledge/knowledge.h @@ -41,7 +41,7 @@ int ZoO_knowledge_learn_word ( struct ZoO_knowledge k [const static 1], const ZoO_char word [const restrict static 1], - const ZoO_index word_length, + const size_t word_length, ZoO_index result [const restrict static 1], const struct ZoO_pipe io [const restrict static 1] ); @@ -50,7 +50,7 @@ int ZoO_knowledge_learn_sequence ( struct ZoO_knowledge k [const restrict static 1], const ZoO_index sequence [const restrict static 1], - const ZoO_index sequence_length, + const size_t sequence_length, const ZoO_index markov_order, const struct ZoO_pipe io [const restrict static 1] ); @@ -88,7 +88,7 @@ int ZoO_knowledge_get_word const struct ZoO_knowledge k [const static 1], const ZoO_index word_ref, const ZoO_char * word [const restrict static 1], - size_t word_size [const restrict static 1], + ZoO_index word_size [const restrict static 1], const struct ZoO_pipe io [const restrict static 1] ); @@ -125,7 +125,7 @@ int ZoO_knowledge_find_following_words ( const struct ZoO_knowledge k [const static 1], const ZoO_index sequence [const restrict], - const ZoO_index sequence_length, + const size_t sequence_length, const ZoO_index markov_order, const ZoO_index * restrict following_words [const restrict static 1], const ZoO_index * restrict following_words_weights [const restrict static 1], -- cgit v1.2.3-70-g09d2