[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: RE: binding lua-c++ with swig or anything else...
- From: mark gossage <mark@...>
- Date: Tue, 27 Dec 2005 00:43:04 MST
Indeed it is a Lua problem, but its my fault that the SWIG docs are incorrect. I will update them shortly.
Jason, if you have any problems with using SWIG, please feel free to send them to the SWIG mailing list.
> this is a lua problem, not a swig one.
> l.insert should probably be l:insert
> the colon operator means that you are invoking the method insert on l.
> it is syntactic sugar for l.insert( l, item )
> i presume the SWIG example code is wrong....
> let me know if you try this change and find that that's the case.