1 %module(directors="1") javaupm_pulsensor 2 %include "../upm.i" 3 %include "arrays_java.i" 4 5 %feature("director") Callback; 6 7 %ignore sample_thread; 8 %ignore pin_ctx; 9 %ignore do_sample; 10 %ignore callback; 11 12 %include "Callback.h" 13 %{ 14 #include "pulsensor.h" 15 %} 16 17 %include "pulsensor.h" 18