summaryrefslogtreecommitdiff
path: root/peripheral/libupm/src/e50hx/javaupm_e50hx.i
diff options
context:
space:
mode:
Diffstat (limited to 'peripheral/libupm/src/e50hx/javaupm_e50hx.i')
-rw-r--r--peripheral/libupm/src/e50hx/javaupm_e50hx.i34
1 files changed, 0 insertions, 34 deletions
diff --git a/peripheral/libupm/src/e50hx/javaupm_e50hx.i b/peripheral/libupm/src/e50hx/javaupm_e50hx.i
deleted file mode 100644
index 26244a7..0000000
--- a/peripheral/libupm/src/e50hx/javaupm_e50hx.i
+++ /dev/null
@@ -1,34 +0,0 @@
-%module javaupm_e50hx
-%include "../upm.i"
-%include "typemaps.i"
-%include "carrays_uint32_t.i"
-
-// We need to use this method for enum wrapping since the enum typedefs used
-// by the derived classes (like ANALOG_VALUES_T) are passed to methods
-// in the base class which expect a uint32_t. This is fine, and
-// works everywhere except Java. It's type safety is a little too
-// stringent in these cases. %javaconst(1) is generally recommended
-// as it avoids JNI calls to determine the enumerant values at
-// runtime.
-%include "enumtypeunsafe.swg"
-%javaconst(1);
-
-%include "bacnetmstp.hpp"
-%include "bacnetutil.hpp"
-%include "e50hx.hpp"
-%{
- #include "bacnetutil.hpp"
- #include "e50hx.hpp"
-%}
-
-
-%pragma(java) jniclasscode=%{
- static {
- try {
- System.loadLibrary("javaupm_e50hx");
- } catch (UnsatisfiedLinkError e) {
- System.err.println("Native code library failed to load. \n" + e);
- System.exit(1);
- }
- }
-%}