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