|
Hi, I don't get any error. When I write : local toto = myObject.myAttribute ; Lua consider myObject.myAttribute as a function and when I print the value of toto, it's nil :( Tim > From: jerome.vuarand@gmail.com > Date: Thu, 7 Apr 2011 16:10:04 +0200 > To: lua-l@lists.lua.org > Subject: Re: C++ binding > > 2011/4/7 Timothée VERROUIL <dreamothee@hotmail.com>: > > I'm trying to wrap C++ object. > > Currently, I can call C++ constructors, destructors and methods on object > > but I can't call attributes in lua like : myObject.myAttribute (can't call > > the get or the set) > > What error do you get ? > |