lua-users home
lua-l archive

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


oh, yeah... duh! thx.... that's what I get for trying to keep working at 5 in the morning! :)

On Dec 20, 2003, at 12:59 PM, Taj Khattra wrote:

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


-----------------------
Ando Sonenblick
SpriTec Software
www.spritec.com