首页 > 编程语言 > 详细

笔记 Integrating Python and C++ with Boost Python part 1 | SciPy 2014 | Austin Bingham

时间:2014-08-31 14:21:51      阅读:385      评论:0      收藏:0      [点我收藏+]

https://www.youtube.com/watch?v=GE8EsGUsC2w

python c api

pyerr_setstring

boost

register_exception_translator

handy debugging tip

boost::python::throw_error_already_set(), set breakpoint here

 

https://bitbucket.org/sixty-north/scipy2014_boost_python_workshop_student_material/src

 

simply expose c++ function to python

boost::python::def

笔记 Integrating Python and C++ with Boost Python part 1 | SciPy 2014 | Austin Bingham

原文:http://www.cnblogs.com/huashiyiqike/p/3947609.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!