blob: 64a3cfa72dfd0d74121721e07ff261890d9bdeed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
%module jsupm_mma7660
%include "../upm.i"
%include "cpointer.i"
/* Send "int *" and "float *" to JavaScript as intp and floatp */
%pointer_functions(int, intp);
%pointer_functions(float, floatp);
%{
#include "mma7660.hpp"
%}
%include "mma7660.hpp"
|