]> Kevux Git Server - fll/commitdiff
Update: Make the state parameter a constant.
authorKevin Day <thekevinday@gmail.com>
Thu, 23 Dec 2021 02:55:07 +0000 (20:55 -0600)
committerKevin Day <thekevinday@gmail.com>
Thu, 23 Dec 2021 02:55:07 +0000 (20:55 -0600)
level_0/f_iki/c/iki.c
level_0/f_iki/c/iki.h
level_1/fl_iki/c/iki.c
level_1/fl_iki/c/iki.h

index 30bd88880d5b2181123b2934b340f5906b153cd3..a1fdb3267ee3f9f2ca3e929e3604508282ac532c 100644 (file)
@@ -56,7 +56,7 @@ extern "C" {
 #endif // _di_f_iki_object_partial_is_
 
 #ifndef _di_f_iki_read_
-  f_status_t f_iki_read(f_state_t state, f_string_static_t * const buffer, f_string_range_t *range, f_iki_variable_t *variable, f_iki_vocabulary_t *vocabulary, f_iki_content_t *content, f_iki_delimits_t *delimits) {
+  f_status_t f_iki_read(const f_state_t state, f_string_static_t * const buffer, f_string_range_t *range, f_iki_variable_t *variable, f_iki_vocabulary_t *vocabulary, f_iki_content_t *content, f_iki_delimits_t *delimits) {
     #ifndef _di_level_0_parameter_checking_
       if (!buffer) return F_status_set_error(F_parameter);
       if (!range) return F_status_set_error(F_parameter);
index 6db37cd3f890520ae906f06064885c80d995d4fc..a8f9fbda1240be5efdbe4448263d8b3245f15186 100644 (file)
@@ -159,7 +159,7 @@ extern "C" {
  *   F_string_too_large (with error bit) if a string length is too large to store in the buffer.
  */
 #ifndef _di_f_iki_read_
-  extern f_status_t f_iki_read(f_state_t state, f_string_static_t * const buffer, f_string_range_t *range, f_iki_variable_t *variable, f_iki_vocabulary_t *vocabulary, f_iki_content_t *content, f_iki_delimits_t *delimits);
+  extern f_status_t f_iki_read(const f_state_t state, f_string_static_t * const buffer, f_string_range_t *range, f_iki_variable_t *variable, f_iki_vocabulary_t *vocabulary, f_iki_content_t *content, f_iki_delimits_t *delimits);
 #endif // _di_f_iki_read_
 
 #ifdef __cplusplus
index 6d4f1565c1f460e44287e07939b6bc2d7f51e55a..237360bb07929a8c019750961204f679f68085cc 100644 (file)
@@ -5,7 +5,7 @@ extern "C" {
 #endif
 
 #ifndef _di_fl_iki_read_
-  f_status_t fl_iki_read(f_state_t state, f_string_static_t * const buffer, f_string_range_t *range, f_iki_variable_t *variable, f_iki_vocabulary_t *vocabulary, f_iki_content_t *content, f_iki_delimits_t *delimits) {
+  f_status_t fl_iki_read(const f_state_t state, f_string_static_t * const buffer, f_string_range_t *range, f_iki_variable_t *variable, f_iki_vocabulary_t *vocabulary, f_iki_content_t *content, f_iki_delimits_t *delimits) {
     #ifndef _di_level_1_parameter_checking_
       if (!buffer) return F_status_set_error(F_parameter);
       if (!range) return F_status_set_error(F_parameter);
index 15bdd587d7ceedcb63290179a010c0894a3d1484..0a3be39e567e6e90cff02331df23a97aac4db2e7 100644 (file)
@@ -75,7 +75,7 @@ extern "C" {
  * @see f_iki_read()
  */
 #ifndef _di_fl_iki_read_
-  extern f_status_t fl_iki_read(f_state_t state, f_string_static_t * const buffer, f_string_range_t *range, f_iki_variable_t *variable, f_iki_vocabulary_t *vocabulary, f_iki_content_t *content, f_iki_delimits_t *delimits);
+  extern f_status_t fl_iki_read(const f_state_t state, f_string_static_t * const buffer, f_string_range_t *range, f_iki_variable_t *variable, f_iki_vocabulary_t *vocabulary, f_iki_content_t *content, f_iki_delimits_t *delimits);
 #endif // _di_fl_iki_read_
 
 #ifdef __cplusplus