Add missing const
This commit is contained in:
1 parent
7f7230be90
commit
74aa514903
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -1020,7 +1020,7 @@
|
|||||||
\
|
\
|
||||||
M_IF_METHOD_BOTH(OUT_STR, key_oplist, value_oplist)( \
|
M_IF_METHOD_BOTH(OUT_STR, key_oplist, value_oplist)( \
|
||||||
static inline void \
|
static inline void \
|
||||||
M_C(name, _out_str)(FILE *file, tree_t t1) \
|
M_C(name, _out_str)(FILE *file, tree_t const t1) \
|
||||||
{ \
|
{ \
|
||||||
BPTREEI_CONTRACT(N, key_oplist, t1); \
|
BPTREEI_CONTRACT(N, key_oplist, t1); \
|
||||||
assert (file != NULL); \
|
assert (file != NULL); \
|
||||||
|
|||||||
+2
-2
@@ -889,7 +889,7 @@ typedef enum {
|
|||||||
\
|
\
|
||||||
M_IF_METHOD(GET_STR, oplist)( \
|
M_IF_METHOD(GET_STR, oplist)( \
|
||||||
static inline void M_C(name, _get_str)(string_t str, \
|
static inline void M_C(name, _get_str)(string_t str, \
|
||||||
const tree_t t1, bool append) { \
|
tree_t const t1, bool append) { \
|
||||||
RBTREEI_CONTRACT(t1); \
|
RBTREEI_CONTRACT(t1); \
|
||||||
assert(str != NULL); \
|
assert(str != NULL); \
|
||||||
(append ? string_cat_str : string_set_str) (str, "["); \
|
(append ? string_cat_str : string_set_str) (str, "["); \
|
||||||
@@ -911,7 +911,7 @@ typedef enum {
|
|||||||
\
|
\
|
||||||
M_IF_METHOD(OUT_STR, oplist)( \
|
M_IF_METHOD(OUT_STR, oplist)( \
|
||||||
static inline void \
|
static inline void \
|
||||||
M_C(name, _out_str)(FILE *file, tree_t rbtree) \
|
M_C(name, _out_str)(FILE *file, tree_t const rbtree) \
|
||||||
{ \
|
{ \
|
||||||
RBTREEI_CONTRACT(rbtree); \
|
RBTREEI_CONTRACT(rbtree); \
|
||||||
assert (file != NULL); \
|
assert (file != NULL); \
|
||||||
|
|||||||
Reference in new issue
Block a user