1 %module(directors="1") javaupm_hcsr04 2 %include "../upm.i" 3 4 %feature("director") IsrCallback; 5 6 %ignore generic_callback_isr; 7 %include "../IsrCallback.h" 8 9 %{ 10 #include "hcsr04.h" 11 %} 12 13 %include "hcsr04.h" 14