This commit is contained in:
wangjiyu 2025-04-10 18:35:30 +08:00
parent 18b4bc00b2
commit 37d164e7b4
1 changed files with 1 additions and 0 deletions

View File

@ -65,6 +65,7 @@ public:
} }
void** ptr = reinterpret_cast<void**>(RTC_PLUGINS_ARRAY_API); void** ptr = reinterpret_cast<void**>(RTC_PLUGINS_ARRAY_API);
std::cout << "ptr:" << ptr << std::endl;
if (!ptr || !ptr[93]) { if (!ptr || !ptr[93]) {
std::cerr << "NumPy API corrupt! Expected at 93: " std::cerr << "NumPy API corrupt! Expected at 93: "
<< (ptr ? (void*)ptr[93] : nullptr) << std::endl; << (ptr ? (void*)ptr[93] : nullptr) << std::endl;