2013-12-17 44 views

回答

0

那麼它看起來像我可以更進一步比SWIG/python array inside structure 我改變上面的原代碼foobar.h到:

class Foobar { 
public: 
    int_array_wrapper member; 
} 

,然後,我既可以#include%includefoobar_modified_for_swig.h在我痛飲接口代碼,同時,原來的​​仍然會使用foobar.h和這兩個鏈接在一起並顯示工作。不知道爲什麼這個工程,但它似乎工作。