summaryrefslogtreecommitdiff
path: root/peripheral/libupm/src/mma7660/pyupm_mma7660.i
blob: 23ba3fdb5120e33c0969564445e2cbafdfeac844 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Include doxygen-generated documentation
%include "pyupm_doxy2swig.i"
%module pyupm_mma7660
%include "../upm.i"
%include "cpointer.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 "mma7660_doc.i"
#endif

%include "mma7660.h"
%{
    #include "mma7660.h"
%}