Calling Python functions from C++

后端 未结 4 1193
伪装坚强ぢ
伪装坚强ぢ 2020-12-09 16:53

I am trying to achieve call Python functions from C++. I thought it could be achieved through function pointers, but it does not seem to be possible. I have been using

4条回答
  •  庸人自扰
    2020-12-09 17:16

    Not a clue. But you can use PyObject_Call() to call it once you have the function object.

提交回复
热议问题