Skip to content

Commit

Permalink
doc: fixed broken breathe mistaking define for func
Browse files Browse the repository at this point in the history
breathe failed to process the typedef thinking
the macro expansion was a function pointer
  • Loading branch information
vavrusa committed Jan 30, 2016
1 parent f03364f commit 3e3adf8
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 5 deletions.
3 changes: 2 additions & 1 deletion daemon/engine.h
Expand Up @@ -46,8 +46,9 @@ struct storage_api {
void *(*opts_create)(const char *, size_t); /**< Storage options factory */
};

/** @internal Array of cache backend options. */
/** @cond internal Array of cache backend options. */
typedef array_t(struct storage_api) storage_registry_t;
/* @endcond */

struct engine {
struct kr_context resolver;
Expand Down
2 changes: 2 additions & 0 deletions daemon/network.h
Expand Up @@ -34,7 +34,9 @@ struct endpoint {
uint16_t flags;
};

/** @cond internal Array of endpoints */
typedef array_t(struct endpoint*) endpoint_array_t;
/* @endcond */

struct network {
uv_loop_t *loop;
Expand Down
2 changes: 1 addition & 1 deletion daemon/worker.h
Expand Up @@ -20,7 +20,7 @@
#include "lib/generic/array.h"
#include "lib/generic/map.h"

/* @cond internal Freelist of available mempools. */
/** @cond internal Freelist of available mempools. */
typedef array_t(void *) mp_freelist_t;
/* @endcond */

Expand Down
2 changes: 1 addition & 1 deletion lib/resolve.h
Expand Up @@ -69,7 +69,7 @@
* @endcode
*/

/* @cond internal Array of modules. */
/** @cond internal Array of modules. */
typedef array_t(struct kr_module *) module_array_t;
/* @endcond */

Expand Down
3 changes: 2 additions & 1 deletion lib/rplan.h
Expand Up @@ -73,8 +73,9 @@ struct kr_query {
struct kr_layer_pickle *deferred;
};

/** @internal Array of queries. */
/** @cond internal Array of queries. */
typedef array_t(struct kr_query *) kr_qarray_t;
/* @endcond */

/**
* Query resolution plan structure.
Expand Down
2 changes: 1 addition & 1 deletion lib/utils.h
Expand Up @@ -74,7 +74,7 @@ static inline long time_diff(struct timeval *begin, struct timeval *end) {
return res.tv_sec * 1000 + res.tv_usec / 1000;
}

/** @cond Array types */
/** @cond internal Array types */
struct kr_context;
typedef array_t(knot_rrset_t *) rr_array_t;
/* @endcond */
Expand Down

0 comments on commit 3e3adf8

Please sign in to comment.