diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-01-20 16:26:48 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-01-20 16:26:48 +0000 |
commit | 22e22db0161126d1c58a07e2323662efc18d6c86 (patch) | |
tree | e59efd65935cdb9d1358a598925a0a3fa5ace5fd /src/chmempools.c | |
parent | b1d77bf4bc7fb6e89b5280d99f401caa50c8a0d8 (diff) | |
download | ChibiOS-22e22db0161126d1c58a07e2323662efc18d6c86.tar.gz ChibiOS-22e22db0161126d1c58a07e2323662efc18d6c86.tar.bz2 ChibiOS-22e22db0161126d1c58a07e2323662efc18d6c86.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@649 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src/chmempools.c')
-rw-r--r-- | src/chmempools.c | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/chmempools.c b/src/chmempools.c index fac9db851..caaa60c44 100644 --- a/src/chmempools.c +++ b/src/chmempools.c @@ -27,7 +27,8 @@ #ifdef CH_USE_MEMPOOLS
/**
- * Initializes an empty memory pool.
+ * @brief Initializes an empty memory pool.
+ *
* @param mp pointer to a @p MemoryPool structure
* @param size the size of the objects contained in this memory pool
*/
@@ -41,7 +42,8 @@ void chPoolInit(MemoryPool *mp, size_t size) { }
/**
- * Allocates an object from a memory pool.
+ * @brief Allocates an object from a memory pool.
+ *
* @param mp pointer to a @p MemoryPool structure
* @return The pointer to the allocated object.
* @retval NULL if pool is empty.
@@ -58,7 +60,8 @@ void *chPoolAllocI(MemoryPool *mp) { }
/**
- * Allocates an object from a memory pool.
+ * @brief Allocates an object from a memory pool.
+ *
* @param mp pointer to a @p MemoryPool structure
* @return The pointer to the allocated object.
* @retval NULL if pool is empty.
@@ -73,7 +76,8 @@ void *chPoolAlloc(MemoryPool *mp) { }
/**
- * Releases (or adds) an object into (to) a memory pool.
+ * @brief Releases (or adds) an object into (to) a memory pool.
+ *
* @param mp pointer to a @p MemoryPool structure
* @param objp the pointer to the object to be released or added
* @note the object is assumed to be of the right size for the specified
@@ -90,7 +94,8 @@ void chPoolFreeI(MemoryPool *mp, void *objp) { }
/**
- * Releases (or adds) an object into (to) a memory pool.
+ * @brief Releases (or adds) an object into (to) a memory pool.
+ *
* @param mp pointer to a @p MemoryPool structure
* @param objp the pointer to the object to be released or added
* @note the object is assumed to be of the right size for the specified
|