lua-users home
lua-l archive

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


On Sat, Dec 20, 2003 at 05:22:03AM -0800, Ando Sonenblick wrote:
> So instead of passing a string, I'd like to somehow pass my C++ object 
> (just some 32 bit value as far as lua is concerned) that, with the 
> Debug API's I can then retrieve.  This way, I could not allocate and 
> define the string until there is an actual problem....

encode your 32-bit value as a string ?
(e.g. hex-encode will require 8 bytes)

-taj