lua-users home
lua-l archive

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

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.

Mark Gossage

> 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.
> -tyranni