blob: ebbd762d3b675e3a45310e1f896fa3520c8a479b (plain
compll - A compressed memory allocator
compll is a small library that provides replacement functions for malloc()
and free() that allow the application memory to be compressed.
Due to the small size of this library, it is recommended to simply add the
compll.h and compll.c files to your project and compile and statically link
them into your application as if they were part of your project.
The library should compile on any conforming C99 compiler, or a C89 compiler
with support for 'long long' integers. [unsigned] short types are assumed to
be exactly 16 bits wide. So far, only GCC has been tested.
A minimal Makefile is included to build an object file from the library and
to run the tests. The test suite requires quite a bit of memory in addition
to the 'prove' program, which should come with a default installation of