1 %module pyupm_adxl335 2 %include "../upm.i" 3 %include "cpointer.i" 4 5 %pointer_functions(int, intPointer); 6 %pointer_functions(float, floatPointer); 7 8 %feature("autodoc", "3"); 9 10 %include "adxl335.h" 11 %{ 12 #include "adxl335.h" 13 %} 14
1 %module pyupm_adxl335 2 %include "../upm.i" 3 %include "cpointer.i" 4 5 %pointer_functions(int, intPointer); 6 %pointer_functions(float, floatPointer); 7 8 %feature("autodoc", "3"); 9 10 %include "adxl335.h" 11 %{ 12 #include "adxl335.h" 13 %} 14