在SWIG中,我有一個被包裹的C 基類,在Python中被繼承了。C 一方在Python派生類上呼叫回呼,作業正常。不幸的是,回呼的一個引數是以參考形式傳遞的。訪問這個參考的結果是:
致命的未處理例外。SWIG 主管方法錯誤。探測到的錯誤 時檢測到錯誤
test.i
%module(directors="1"/span>, allprotected="1"/span>) test
轉載請註明出處,本文鏈接:https://www.uj5u.com/qiye/333053.html
標籤:
