lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Sorry, I forgot, the different pointers are obtained with Lua 5.1.4.
I get the same pointers with 5.2.3.



2014-07-08 13:14 GMT+02:00 Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br>:
> print =         function: 00242410
> package.preload.print =         function: 00242410
> luaopen_Stuff =         function: 0024BF78
> package.preload.Stuff =         function: 0024BF98

It works for me:

print =         function: 0x105ce6560
package.preload.print =         function: 0x105ce6560
luaopen_Stuff =         function: 0x105ccef10
package.preload.Stuff =         function: 0x105ccef10

(Lua 5.2.3, Mac OS X 10.7.5)




--
Benoit.