lua-users home
lua-l archive

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


Some projects already have SWIG bindings that they prefer to use as then all the language bindings can be maintained more easily. 

Justin


On 22 Feb 2011, at 00:06, Steve Litt <slitt@troubleshooters.com> wrote:

> On Monday 21 February 2011 08:51:11 Jeff Smith wrote:
> 
>> I am implementing the createTimer binding to C with SWIG, so my C function
>> is int createTimer(char *funcName, unsigned int periodInMs)
> 
> Hi Jeff,
> 
> This isn't responsive to your question, but curiosity got the better of me. 
> What's the benefit of interfacing to C using SWIG, rather than the usual way 
> of interfacing Lua to C?
> 
> Thanks
> 
> SteveT
> 
> Steve Litt
> Recession Relief Package
> http://www.recession-relief.US
> Twitter: http://www.twitter.com/stevelitt
> 
>