upm/src/bma250e/jsupm_bma250e.i
Jon Trulson 5aed632782 bma250e: split into new library, C port, FTI, C++ wraps C
Signed-off-by: Jon Trulson <jtrulson@ics.com>
2017-03-30 16:43:35 -06:00

15 lines
312 B
OpenEdge ABL

%module jsupm_bma250e
%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 "bma250e_defs.h"
%include "bma250e.hpp"
%{
#include "bma250e.hpp"
%}