1 2 3 4 5 6 7 8
%module javaupm_wheelencoder %include "../upm.i" %{ #include "wheelencoder.h" %} %include "wheelencoder.h"