[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: RE: memory allocation
- From: Falko Poiker <fpoiker@...>
- Date: Fri, 21 Jul 2000 15:23:09 -0700
We've done this exact change ourselves and have had no adverse effects (I'm
sure many people on this list have made this change). lmem.c has some very
convenient defines at the top of the file to accomodate this change.
Since our game is written in c++, we had to change lmem.c to lmem.cpp, which
ended up needing some compiling trickery to work properly. If you need to
do this, let me know.
From: Jim Mathies [mailto:Jim@mathies.com]
Sent: Friday, July 21, 2000 2:44 PM
To: Multiple recipients of list
Subject: memory allocation
I have a question about the memory allocation in
lmem.c. Is it acceptable to replace malloc, realloc
and free with custom handlers? Also, if the custom
handlers include features like debug byte padding
surrounding allocated blocks, will Lua handle this
Y i n d o I n c.
w w w . y i n d o . c o m
Jim Mathies - firstname.lastname@example.org