views:

21

answers:

0

My application is using SWIG to communicate between c++ and python on windows.

suppose if my interface is "example.h"

swig is generating example.py, example_wrap.cxx

  /* File : example.i */
%module example

%{
#include "example.h"
%}
%include "std_string.i"
%include "std_wstring.i"
%include "example.h" 

I am porting my application to MAC. Do i need to generate example.py, example_wrap.cxx on mac? or can i use already generated files ?