a2a2e14e0d
Instead of providing yet another memory allocator implementation use tlsf and simply link tlsf library. Another small improvement is to *grow* memory pool by grabbing audiobuffer instead of just switching to use audiobuf exclusively. Tested with simple lua 'memory eater' script. This patch extends tlsf lib slightly. You can provide void *get_new_area(size_t * size) function which will override weak dummy implementation provided in lib itself. This allows to automaticaly initialize memory pool as well as grow memory pool if needed (for example grab audiobuffer when pluginbuffer is exhaused). Change-Id: I841af6b6b5bbbf546c14cbf139a7723fbb982f1b
42 lines
384 B
Text
42 lines
384 B
Text
lauxlib.c
|
|
lapi.c
|
|
lbaselib.c
|
|
lbitlib.c
|
|
lcode.c
|
|
ldebug.c
|
|
ldo.c
|
|
ldump.c
|
|
lfunc.c
|
|
lgc.c
|
|
liolib.c
|
|
llex.c
|
|
lmathlib.c
|
|
lmem.c
|
|
loadlib.c
|
|
lobject.c
|
|
lopcodes.c
|
|
loslib.c
|
|
lparser.c
|
|
lstate.c
|
|
lstring.c
|
|
lstrlib.c
|
|
ltable.c
|
|
ltablib.c
|
|
ltm.c
|
|
lundump.c
|
|
lvm.c
|
|
lzio.c
|
|
rockaux.c
|
|
rocklib.c
|
|
tlsf_helper.c
|
|
fscanf.c
|
|
gmtime.c
|
|
strcspn.c
|
|
strftime.c
|
|
strncat.c
|
|
strpbrk.c
|
|
strtoul.c
|
|
strtol.c
|
|
strstr.c
|
|
rocklua.c
|
|
luadir.c
|