How do you extend python with C++?

前端 未结 3 1232
生来不讨喜
生来不讨喜 2021-02-02 13:31

I\'ve successfully extended python with C, thanks to this handy skeleton module. But I can\'t find one for C++, and I have circular dependency trouble when trying to fix the err

3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-02 13:57

    What about Boost::Python?

    EDIT: sorry, I did oversee that you don't want to depend on boost but I think it might still be one of the best options.

提交回复
热议问题