Update comment.

This commit is contained in:
Patrick Pelissier committed 2017-05-26 12:27:04 +02:00
1 parent 0089b9fe83
commit edb7ad2796
1 file changed
+3 -2
+3 -2
View File
@@ -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