Update comments.

This commit is contained in:
Patrick Pelissier committed 2018-05-03 13:07:52 +02:00
1 parent 1009cd6ed4
commit 64080fadd3
2 files changed
+4 -2

No files matched your search

+1
View File
@@ -671,6 +671,7 @@ bitset_hash(const bitset_t dest)
,EQUAL(bitset_equal_p) \
)
/* Register the OPLIST as a global one */
#define M_OPL_bitset_t() BITSET_OPLIST
// TODO: set_at2, insert_v, remove_v
+3 -2
View File
@@ -1214,7 +1214,7 @@ namespace m_string {
string_printf (v, format, __VA_ARGS__) ; \
} while (0)
/* NOTE: Use GCC extension */
/* NOTE: Use GCC extension FIXME: To keep? */
#define STRING_DECL_INIT(v) \
string_t v __attribute__((cleanup(stringi_clear2))) = {{ 0, 0, NULL}}
@@ -1234,11 +1234,12 @@ namespace m_string {
OUT_STR(string_out_str), IN_STR(string_in_str), \
EXT_ALGO(STRING_SPLIT) \
)
/* Register the OPLIST as a global one */
#define M_OPL_string_t() STRING_OPLIST
/* Macro encapsulation to give default value for start offset */
/* Macro encapsulation to give a default value of 0 for start offset */
#define string_search_char(v, ...) \
M_APPLY(string_search_char, v, M_IF_DEFAULT1(0, __VA_ARGS__))