[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: 5.1 RTL macros
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Wed, 5 Apr 2006 06:58:27 -0300
> Further to trying to avoid changes to Lua source modules, I have created
> the following macros for Lua 5.1.
> #ifndef LUAI_REALLOC
> #define LUAI_REALLOC(p,n) realloc((p),(n))
> #endif
The point being made by me and Roberto is that you could simply do this in
luaconf.h:
#define realloc myrealloc
Lua header files are included after system files precisely to allow this.
Or are we missing someting?
--lhf