Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 357 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 357 Bytes

Memory-Pool

Memory Pool is just a test of a memory pool written in C

Example

#include "memorypool.h"

int main()
{
	MP_set(32);

	for (int i = 0; i < 3; i++)
	{
		*(int*)MP_alloc(4) = i;
	}

	MP_draw(1);
	
	return MP_set(0);
}

alt text