Calling from C

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Calling from C

Aistis Raulinaitis
I see there are SWIG layers, but what would be the recommended way to use Quantlib from C?

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

答复: Calling from C

cheng li

Hi Aistis,

 

I think SWIG can’t solve your problem.

 

If you are forced to use a c compiler for your project, I think the only way you can do is to write your own wrapper function for the QuantLib functionality. Yes , use extern “C” ….

 

Regards,

Cheng

 

发件人: Aistis Raulinaitis [mailto:[hidden email]]
发送时间: 201556 16:55
收件人: [hidden email]
主题: [Quantlib-users] Calling from C

 

I see there are SWIG layers, but what would be the recommended way to use Quantlib from C?


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users