bmg160: C port, FTI, C++ wraps C
Signed-off-by: Jon Trulson <jtrulson@ics.com>
This commit is contained in:
22
src/bmg160/pyupm_bmg160.i
Normal file
22
src/bmg160/pyupm_bmg160.i
Normal file
@@ -0,0 +1,22 @@
|
||||
// Include doxygen-generated documentation
|
||||
%include "pyupm_doxy2swig.i"
|
||||
%module pyupm_bmg160
|
||||
%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 "bmg160_doc.i"
|
||||
#endif
|
||||
|
||||
%include "bmg160_defs.h"
|
||||
%include "bmg160.hpp"
|
||||
%{
|
||||
#include "bmg160.hpp"
|
||||
%}
|
||||
Reference in New Issue
Block a user