[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Timers, Callbacks & Swig
- From: Justin Cormack <justin@...>
- Date: Tue, 22 Feb 2011 09:14:54 +0000
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
>
>