Re: Custom Value instead of ChunkName?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Custom Value instead of ChunkName?
 
- From: Taj Khattra <taj.khattra@...>
 
- Date: 2003年12月20日 12:59:34 -0800
 
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