Login  Register

Trying to extend functions into Lua

Posted by Tawanda Gwena on Aug 28, 2012; 1:03am
URL: http://quantlib.414.s1.nabble.com/print-vs-assign-output-in-QuantLib-SWIG-tp12595p12596.html

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



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev