From 64080fadd3cfbbae95a31fddbb9d2a30ed3d6cd0 Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Thu, 3 May 2018 13:07:52 +0200 Subject: [PATCH] Update comments. --- m-bitset.h | 1 + m-string.h | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/m-bitset.h b/m-bitset.h index 82c590ac..57362251 100644 --- a/m-bitset.h +++ b/m-bitset.h @@ -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 diff --git a/m-string.h b/m-string.h index 12a9e27b..b1fb37f7 100644 --- a/m-string.h +++ b/m-string.h @@ -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__))