diff options
Diffstat (limited to 'peripheral/libupm/src/mhz16/javaupm_mhz16.i')
-rw-r--r-- | peripheral/libupm/src/mhz16/javaupm_mhz16.i | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/peripheral/libupm/src/mhz16/javaupm_mhz16.i b/peripheral/libupm/src/mhz16/javaupm_mhz16.i deleted file mode 100644 index c2735a3..0000000 --- a/peripheral/libupm/src/mhz16/javaupm_mhz16.i +++ /dev/null @@ -1,27 +0,0 @@ -%module javaupm_mhz16 -%include "../upm.i" -%include "cpointer.i" -%include "typemaps.i" -%include "arrays_java.i"; -%include "../java_buffer.i" - -%apply int *OUTPUT { int *gas, int *temp }; - -%{ - #include "mhz16.h" - speed_t int_B9600 = B9600; -%} - -%include "mhz16.h" -speed_t int_B9600 = B9600; - -%pragma(java) jniclasscode=%{ - static { - try { - System.loadLibrary("javaupm_mhz16"); - } catch (UnsatisfiedLinkError e) { - System.err.println("Native code library failed to load. \n" + e); - System.exit(1); - } - } -%}
\ No newline at end of file |