blob: 25adc07318e2c2d1a2cef4bc88134db4c74dfb75 (
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.h"
%}
%include "mma7660.h"
|