Commit graph raylib/src/rmem.c
Author SHA1 Message Date
Kevin Yonan
ad9b1d990c
A single change for the mempool and a patch for the objpool.
Object Pool Patch: if you deplete the object pool to 0 free blocks and then free back one block, the last given block will be rejected because it was exactly at the memory holding the entire pool.
Mempool change: switched memory aligning the size from the constructor to when allocating.
2019-07-12 18:44:39 -07:00
Kevin Yonan
b5f56c1a43
changed *_CleanUp function parameter
Replaced `void*` pointer to pointer param to `void**` so it's more explicit.
2019-06-25 09:24:22 -07:00
Kevin Yonan
76e781b5fb
removing l 2019-06-24 23:01:11 -07:00
Kevin Yonan
72426b0899
forgot to change _RemoveNode to __RemoveNode 2019-06-24 20:08:08 -07:00
Kevin Yonan
4fe2f2bde3
implementing changes 2019-06-24 20:05:16 -07:00
Kevin Yonan
50a8da0150
changed 'restrict' to '__restrict' so it can compile for MSVC
Added `const` to parameters for `MemPool_Realloc`
2019-06-24 11:27:14 -07:00
Kevin Yonan
9b99b5594e
Submitting rmem memory and object pool module 2019-06-24 10:55:02 -07:00