%module javaupm_gp2y0a %include "../upm.i" %{ #include "gp2y0a.hpp" %} %include "gp2y0a.hpp" JAVA_JNI_LOADLIBRARY(javaupm_gp2y0a)