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