kore-doc

The kore documentation found under https://docs.kore.io/
Commits | Files | Refs | README | git clone https://git.kore.io/kore-doc.git

commit c4005945052ed7a2906903ac27883480d93cf8d8
parent 7073d2bb0b4b68d43ff0cb13fcffb5f3e26a949e
Author: Joris Vink <joris@coders.se>
Date:   Mon, 31 Aug 2020 14:14:29 +0200

put index on pools api

Diffstat:
api/pools.md | 15+++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/api/pools.md b/api/pools.md @@ -4,9 +4,16 @@ Kore provides a memory pool interface allowing you to create your own. Pools are automatically thread-safe if Kore was built with TASKS=1. +## Index + +* [kore\_pool\_init](#init) +* [kore\_pool\_cleanup](#cleanup) +* [kore\_pool\_get](#get) +* [kore\_pool\_put](#put) + --- -# kore_pool_init +# kore\_pool\_init {#init} ### Synopsis ``` void kore_pool_init(struct kore_pool *pool, const char *name, size_t len, size_t elm) @@ -26,7 +33,7 @@ Nothing --- -# kore_pool_cleanup +# kore\_pool\_cleanup {#cleanup} ### Synopsis ``` void kore_pool_cleanup(struct kore_pool *pool) @@ -43,7 +50,7 @@ Nothing --- -# kore_pool_get +# kore\_pool\_get {#get} ### Synopsis ``` void *kore_pool_get(struct kore_pool *pool) @@ -60,7 +67,7 @@ Returns a pointer to an area that is large enough to hold the data length the po --- -# kore_pool_put +# kore\_pool\_put {#put} ### Synopsis ``` void kore_pool_put(struct kore_pool *pool, void *ptr)