mirror of
https://github.com/eclipse/upm.git
synced 2025-03-15 04:57:30 +03:00
java: Added kxcjk1013 to javaswig blacklist because of unclean bindings. Removed javaupm_kxcjk1013.i and javaupm_nrf8001.i
Signed-off-by: Stefan Andritoiu <stefan.andritoiu@intel.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
parent
75e42c6731
commit
6d4714df3c
@ -1 +1,2 @@
|
||||
nrf8001
|
||||
kxcjk1013
|
||||
|
@ -1,20 +0,0 @@
|
||||
%module javaupm_kxcjk1013
|
||||
%include "../upm.i"
|
||||
|
||||
%{
|
||||
#include "kxcjk1013.h"
|
||||
%}
|
||||
%include "kxcjk1013.h"
|
||||
|
||||
%ignore installISR(void (*isr)(char*), void* arg);
|
||||
|
||||
%pragma(java) jniclasscode=%{
|
||||
static {
|
||||
try {
|
||||
System.loadLibrary("javaupm_kxcjk1013");
|
||||
} catch (UnsatisfiedLinkError e) {
|
||||
System.err.println("Native code library failed to load. \n" + e);
|
||||
System.exit(1);
|
||||
}
|
||||
}
|
||||
%}
|
@ -1,19 +0,0 @@
|
||||
%module javaupm_nrf8001
|
||||
%include "../upm.i"
|
||||
|
||||
%{
|
||||
#include "nrf8001.h"
|
||||
%}
|
||||
|
||||
%include "nrf8001.h"
|
||||
|
||||
%pragma(java) jniclasscode=%{
|
||||
static {
|
||||
try {
|
||||
System.loadLibrary("javaupm_nrf8001");
|
||||
} catch (UnsatisfiedLinkError e) {
|
||||
System.err.println("Native code library failed to load. \n" + e);
|
||||
System.exit(1);
|
||||
}
|
||||
}
|
||||
%}
|
Loading…
x
Reference in New Issue
Block a user