upm/src/bmx055/jsupm_bmx055.i

32 lines
500 B
OpenEdge ABL
Raw Normal View History

%module jsupm_bmx055
%include "../upm.i"
%include "cpointer.i"
%include "../upm_vectortypes.i"
/* Send "int *" and "float *" to JavaScript as intp and floatp */
%pointer_functions(int, intp);
%pointer_functions(float, floatp);
%include "bmg160_defs.h"
%include "bma250e_defs.h"
%include "bmm150.hpp"
%{
#include "bmm150.hpp"
%}
%include "bmx055.hpp"
%{
#include "bmx055.hpp"
%}
%include "bmc150.hpp"
%{
#include "bmc150.hpp"
%}
%include "bmi055.hpp"
%{
#include "bmi055.hpp"
%}