%module jsupm_bmi160
%include "../upm.i"
%include "cpointer.i"
%include "std_string.i"

%pointer_functions(float, floatp);

%include "bmi160_defs.h"
%include "bmi160.hpp"
%{
    #include "bmi160.hpp"
%}
