摘要: 问题: 解决: 1、重命名C++中的slots: class MyClass { public: PyType_Slot *slotTable; }; 2、在includ <Python.h>前使用#undef取消定义 #ifdef slots #undef slots #endif #includ 阅读全文
posted @ 2024-09-24 15:49 hxqmw 阅读(239) 评论(0) 推荐(0)