mirror of
https://github.com/eclipse/upm.git
synced 2025-07-04 10:51:12 +03:00
bmm150: split into new library, C port, FTI, C++ wraps C
Signed-off-by: Jon Trulson <jtrulson@ics.com>
This commit is contained in:
22
src/bmm150/pyupm_bmm150.i
Normal file
22
src/bmm150/pyupm_bmm150.i
Normal file
@ -0,0 +1,22 @@
|
||||
// Include doxygen-generated documentation
|
||||
%include "pyupm_doxy2swig.i"
|
||||
%module pyupm_bmm150
|
||||
%include "../upm.i"
|
||||
%include "cpointer.i"
|
||||
%include "../upm_vectortypes.i"
|
||||
|
||||
/* Send "int *" and "float *" to python as intp and floatp */
|
||||
%pointer_functions(int, intp);
|
||||
%pointer_functions(float, floatp);
|
||||
|
||||
%feature("autodoc", "3");
|
||||
|
||||
#ifdef DOXYGEN
|
||||
%include "bmm150_doc.i"
|
||||
#endif
|
||||
|
||||
%include "bmm150_defs.h"
|
||||
%include "bmm150.hpp"
|
||||
%{
|
||||
#include "bmm150.hpp"
|
||||
%}
|
Reference in New Issue
Block a user