diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-02-26 23:26:52 +0100 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-02-26 23:29:45 +0100 |
commit | 10240c716aa7eea6aada39e77a7a3cd290a21663 (patch) | |
tree | 88cf815e4d002d0765ad03f97c64faa1acc317b2 /src/utils.h | |
parent | f9c308765f7aa16d553c72551fd830b7e29c9aec (diff) | |
download | tdv-10240c716aa7eea6aada39e77a7a3cd290a21663.tar.gz tdv-10240c716aa7eea6aada39e77a7a3cd290a21663.tar.xz tdv-10240c716aa7eea6aada39e77a7a3cd290a21663.zip |
Formatting
Diffstat (limited to 'src/utils.h')
-rw-r--r-- | src/utils.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/utils.h b/src/utils.h index 8e43995..1b6942c 100644 --- a/src/utils.h +++ b/src/utils.h @@ -21,8 +21,8 @@ #ifndef UTILS_H #define UTILS_H -/** After this statement, the element has been found and its index is stored - * in the variable "imid". */ +/// After this statement, the element has been found and its index is stored +/// in the variable "imid". #define BINARY_SEARCH_BEGIN(max, compare) \ gint imin = 0, imax = max, imid; \ while (imin <= imax) { \ @@ -32,8 +32,8 @@ else if (cmp < 0) imax = imid - 1; \ else { -/** After this statement, the binary search has failed and "imin" stores - * the position where the element can be inserted. */ +/// After this statement, the binary search has failed and "imin" stores +/// the position where the element can be inserted. #define BINARY_SEARCH_END \ } \ } @@ -43,4 +43,4 @@ gchar *stream_read_string (GDataInputStream *dis, GError **error); gboolean xstrtoul (unsigned long *out, const char *s, int base); void update_curses_terminal_size (void); -#endif /* ! UTILS_H */ +#endif // ! UTILS_H |