From 9ecba405b47b377a6d359818c9471545bf971c71 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Tue, 1 Sep 2015 12:38:00 +0100 Subject: Fix doxygen errors in header. --- include/libwapcaplet/libwapcaplet.h | 46 ++++++++++++++++++------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/include/libwapcaplet/libwapcaplet.h b/include/libwapcaplet/libwapcaplet.h index e46ffa8..4c0fc71 100644 --- a/include/libwapcaplet/libwapcaplet.h +++ b/include/libwapcaplet/libwapcaplet.h @@ -112,9 +112,9 @@ extern lwc_error lwc_intern_substring(lwc_string *str, * use this when copying a string pointer into a persistent data * structure. * - * @verb + * @verbatim * myobject->str = lwc_string_ref(myparent->str); - * @endverb + * @endverbatim * * @param str The string to create another reference to. * @return The string pointer to use in your new data structure. @@ -168,28 +168,28 @@ extern void lwc_string_destroy(lwc_string *str); /** * Check if two interned strings are case-insensitively equal. * - * @param str1 The first string in the comparison. - * @param str2 The second string in the comparison. - * @param ret A pointer to a boolean to be filled out with the result. - * @return Result of operation, if not ok then value pointed to - * by \a ret will not be valid. + * @param _str1 The first string in the comparison. + * @param _str2 The second string in the comparison. + * @param _ret A pointer to a boolean to be filled out with the result. + * @return Result of operation, if not ok then value pointed to by \a ret will + * not be valid. */ -#define lwc_string_caseless_isequal(_str1,_str2,_ret) ({ \ - lwc_error __lwc_err = lwc_error_ok; \ - lwc_string *__lwc_str1 = (_str1); \ - lwc_string *__lwc_str2 = (_str2); \ - bool *__lwc_ret = (_ret); \ - \ - if (__lwc_str1->insensitive == NULL) { \ - __lwc_err = lwc__intern_caseless_string(__lwc_str1); \ - } \ - if (__lwc_err == lwc_error_ok && __lwc_str2->insensitive == NULL) { \ - __lwc_err = lwc__intern_caseless_string(__lwc_str2); \ - } \ - if (__lwc_err == lwc_error_ok) \ - *__lwc_ret = (__lwc_str1->insensitive == __lwc_str2->insensitive); \ - __lwc_err; \ - }) +#define lwc_string_caseless_isequal(_str1,_str2,_ret) ({ \ + lwc_error __lwc_err = lwc_error_ok; \ + lwc_string *__lwc_str1 = (_str1); \ + lwc_string *__lwc_str2 = (_str2); \ + bool *__lwc_ret = (_ret); \ + \ + if (__lwc_str1->insensitive == NULL) { \ + __lwc_err = lwc__intern_caseless_string(__lwc_str1); \ + } \ + if (__lwc_err == lwc_error_ok && __lwc_str2->insensitive == NULL) { \ + __lwc_err = lwc__intern_caseless_string(__lwc_str2); \ + } \ + if (__lwc_err == lwc_error_ok) \ + *__lwc_ret = (__lwc_str1->insensitive == __lwc_str2->insensitive); \ + __lwc_err; \ + }) /** * Intern a caseless copy of the passed string. -- cgit v1.2.1