Commit 3e3adf89 authored by Marek Vavrusa's avatar Marek Vavrusa
Browse files

doc: fixed broken breathe mistaking define for func

breathe failed to process the typedef thinking
the macro expansion was a function pointer
parent f03364f8
...@@ -46,8 +46,9 @@ struct storage_api { ...@@ -46,8 +46,9 @@ struct storage_api {
void *(*opts_create)(const char *, size_t); /**< Storage options factory */ 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; typedef array_t(struct storage_api) storage_registry_t;
/* @endcond */
struct engine { struct engine {
struct kr_context resolver; struct kr_context resolver;
......
...@@ -34,7 +34,9 @@ struct endpoint { ...@@ -34,7 +34,9 @@ struct endpoint {
uint16_t flags; uint16_t flags;
}; };
/** @cond internal Array of endpoints */
typedef array_t(struct endpoint*) endpoint_array_t; typedef array_t(struct endpoint*) endpoint_array_t;
/* @endcond */
struct network { struct network {
uv_loop_t *loop; uv_loop_t *loop;
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include "lib/generic/array.h" #include "lib/generic/array.h"
#include "lib/generic/map.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; typedef array_t(void *) mp_freelist_t;
/* @endcond */ /* @endcond */
......
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
* @endcode * @endcode
*/ */
/* @cond internal Array of modules. */ /** @cond internal Array of modules. */
typedef array_t(struct kr_module *) module_array_t; typedef array_t(struct kr_module *) module_array_t;
/* @endcond */ /* @endcond */
......
...@@ -73,8 +73,9 @@ struct kr_query { ...@@ -73,8 +73,9 @@ struct kr_query {
struct kr_layer_pickle *deferred; struct kr_layer_pickle *deferred;
}; };
/** @internal Array of queries. */ /** @cond internal Array of queries. */
typedef array_t(struct kr_query *) kr_qarray_t; typedef array_t(struct kr_query *) kr_qarray_t;
/* @endcond */
/** /**
* Query resolution plan structure. * Query resolution plan structure.
......
...@@ -74,7 +74,7 @@ static inline long time_diff(struct timeval *begin, struct timeval *end) { ...@@ -74,7 +74,7 @@ static inline long time_diff(struct timeval *begin, struct timeval *end) {
return res.tv_sec * 1000 + res.tv_usec / 1000; return res.tv_sec * 1000 + res.tv_usec / 1000;
} }
/** @cond Array types */ /** @cond internal Array types */
struct kr_context; struct kr_context;
typedef array_t(knot_rrset_t *) rr_array_t; typedef array_t(knot_rrset_t *) rr_array_t;
/* @endcond */ /* @endcond */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment