mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
Added a slab allocator which replaces the use of memory pools or the plain AllocMem() operations, respectively. In order to activate the slab allocator, choose a slab size (e.g. 2048 bytes or 4096 bytes) and declare a global variable like this: ULONG __slab_max_size = 2048; Memory allocations smaller than the slab size will be made from "slabs", i.e. large chunks of memory of the given size. Larger allocations will be managed separately.
7 lines
207 B
C
7 lines
207 B
C
#define VERSION 1
|
|
#define REVISION 207
|
|
#define DATE "18.11.2016"
|
|
#define VERS "amiga.lib 1.207"
|
|
#define VSTRING "amiga.lib 1.207 (18.11.2016)\r\n"
|
|
#define VERSTAG "\0$VER: amiga.lib 1.207 (18.11.2016)"
|