|
From: Luigi B. <lui...@gm...> - 2012-09-12 13:13:32
|
Hi Tawanda,
sorry it took so long. The default typemaps provided by SWIG let
native objects for a few languages (such as PyObject* for Python) pass
through unmodified. I don't think the support is there for Lua,
though. You should extend the typemaps to do this, but I think you'd
have more luck asking on the SWIG mailing list; I guess they would be
interested in adding your patches to their repository.
Later,
Luigi
On Tue, Aug 28, 2012 at 3:03 AM, Tawanda Gwena <tg...@gm...> wrote:
> Hi again (Luigi)
>
> I am trying to emulate the way you built the UnaryFunction class in functions.i.
>
> My question is how did you know or arranged for the UnaryFunction constructor to accept the PyObject* object (or the Scheme_Object* and function_ in scheme). I am trying to figure out what Lua sends. I guess this is more about understanding SWIG.
>
> Thanks
>
>
|