%module javaupm_groveelectromagnet %include "../upm.i" %{ #include "groveelectromagnet.h" %} %include "groveelectromagnet.h"