Skip to content

Commit

Permalink
Merge pull request #2138 from OlegHahm/doxygen_fix_core_warnings
Browse files Browse the repository at this point in the history
doc: document internal cib init macro
  • Loading branch information
Kijewski committed Dec 4, 2014
2 parents 1c15cd0 + 6310927 commit 004b158
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/include/cib.h
Expand Up @@ -34,6 +34,9 @@ typedef struct {
unsigned int mask; /**< Size of buffer -1, i.e. mask of the bits */
} cib_t;

/**
* @brief Initialize cib_t to a given size.
*/
#define CIB_INIT(SIZE) { 0, 0, (SIZE) - 1 }

/**
Expand Down

0 comments on commit 004b158

Please sign in to comment.