lua-users home
lua-l archive

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


Hi everyone,

I'm having trouble with tolua-5.0. I'm using the version available on the
lua web site as of two days ago.

Accessing fields of an object seems to clear all other fields for that
object.  Here's an example:

Lua 5.0  Copyright (C) 1994-2003 Tecgraf, PUC-Rio
r = SpeedRequest:new()
r.agency = MSString:new("hello")
r.origterm = 360
=r.origterm
360
=r.agency
userdata: 0x8137b70
=r.origterm
nil
=r.agency
nil

I've just started using tolua, so I may have done something obviously
wrong, but I don't see anything unusual in my code.  Does this sound
familiar to anyone?

Thanks,

Johann