Update comments.
This commit is contained in:
1 parent
1009cd6ed4
commit
64080fadd3
2 files changed
+4
-2
No files matched your search
@@ -671,6 +671,7 @@ bitset_hash(const bitset_t dest)
|
|||||||
,EQUAL(bitset_equal_p) \
|
,EQUAL(bitset_equal_p) \
|
||||||
)
|
)
|
||||||
|
|
||||||
|
/* Register the OPLIST as a global one */
|
||||||
#define M_OPL_bitset_t() BITSET_OPLIST
|
#define M_OPL_bitset_t() BITSET_OPLIST
|
||||||
|
|
||||||
// TODO: set_at2, insert_v, remove_v
|
// TODO: set_at2, insert_v, remove_v
|
||||||
|
|||||||
+3
-2
@@ -1214,7 +1214,7 @@ namespace m_string {
|
|||||||
string_printf (v, format, __VA_ARGS__) ; \
|
string_printf (v, format, __VA_ARGS__) ; \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
/* NOTE: Use GCC extension */
|
/* NOTE: Use GCC extension FIXME: To keep? */
|
||||||
#define STRING_DECL_INIT(v) \
|
#define STRING_DECL_INIT(v) \
|
||||||
string_t v __attribute__((cleanup(stringi_clear2))) = {{ 0, 0, NULL}}
|
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), \
|
OUT_STR(string_out_str), IN_STR(string_in_str), \
|
||||||
EXT_ALGO(STRING_SPLIT) \
|
EXT_ALGO(STRING_SPLIT) \
|
||||||
)
|
)
|
||||||
|
|
||||||
/* Register the OPLIST as a global one */
|
/* Register the OPLIST as a global one */
|
||||||
#define M_OPL_string_t() STRING_OPLIST
|
#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, ...) \
|
#define string_search_char(v, ...) \
|
||||||
M_APPLY(string_search_char, v, M_IF_DEFAULT1(0, __VA_ARGS__))
|
M_APPLY(string_search_char, v, M_IF_DEFAULT1(0, __VA_ARGS__))
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user