Update comment.
This commit is contained in:
1 parent
0089b9fe83
commit
edb7ad2796
1 file changed
+3
-2
+3
-2
@@ -35,8 +35,9 @@
|
||||
...
|
||||
memppol_uint_t m;
|
||||
mempool_uint_init(m);
|
||||
// alloc with mempool_uint_alloc(m);
|
||||
// free with mempool_uin_free(m, ptr);
|
||||
unsigned int *ptr = mempool_uint_alloc(m);
|
||||
*ptr = 17;
|
||||
mempool_uint_free(m, ptr);
|
||||
mempool_uint_clear(m); // Give back memory to system
|
||||
*/
|
||||
// NOTE: Can not use m-list since it may be expanded from LIST_DEF
|
||||
|
||||
Reference in new issue
Block a user