This commit is contained in:
wangjiyu 2025-04-10 16:22:21 +08:00
parent 3a75556b54
commit 400700275b
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,8 @@
#include "./util/RTCContext.h" // 在文件顶部定义唯一符号(关键!)
#define PY_ARRAY_UNIQUE_SYMBOL rtc_plugins_ARRAY_API
#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
#include "./util/RTCContext.h"
namespace py = boost::python; namespace py = boost::python;

View File

@ -1,6 +1,3 @@
// 在文件顶部定义唯一符号(关键!)
#define PY_ARRAY_UNIQUE_SYMBOL rtc_plugins_ARRAY_API
#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
#include "IMRTCEngine.hpp" #include "IMRTCEngine.hpp"
#include "MRTCEngineDefine.hpp" #include "MRTCEngineDefine.hpp"