mirror of
https://github.com/eclipse/upm.git
synced 2025-03-17 22:17:28 +03:00
60 lines
949 B
OpenEdge ABL
60 lines
949 B
OpenEdge ABL
%module javaupm_ozw
|
|
%include "../upm.i"
|
|
%include "cpointer.i"
|
|
%include "typemaps.i"
|
|
%include "arrays_java.i";
|
|
%include "../java_buffer.i"
|
|
|
|
%apply unsigned char *OUTPUT { uint8_t *val };
|
|
|
|
%include "ozw.hpp"
|
|
%{
|
|
#include "ozw.hpp"
|
|
%}
|
|
|
|
%include "ozwinterface.hpp"
|
|
%{
|
|
#include "ozwinterface.hpp"
|
|
%}
|
|
|
|
%include "ozwdump.hpp"
|
|
%{
|
|
#include "ozwdump.hpp"
|
|
%}
|
|
|
|
%include "aeotecss6.hpp"
|
|
%{
|
|
#include "aeotecss6.hpp"
|
|
%}
|
|
|
|
%include "aeotecsdg2.hpp"
|
|
%{
|
|
#include "aeotecsdg2.hpp"
|
|
%}
|
|
|
|
%include "aeotecdw2e.hpp"
|
|
%{
|
|
#include "aeotecdw2e.hpp"
|
|
%}
|
|
|
|
%include "aeotecdsb09104.hpp"
|
|
%{
|
|
#include "aeotecdsb09104.hpp"
|
|
%}
|
|
|
|
%include "tzemt400.hpp"
|
|
%{
|
|
#include "tzemt400.hpp"
|
|
%}
|
|
|
|
%pragma(java) jniclasscode=%{
|
|
static {
|
|
try {
|
|
System.loadLibrary("javaupm_ozw");
|
|
} catch (UnsatisfiedLinkError e) {
|
|
System.err.println("Native code library failed to load. \n" + e);
|
|
System.exit(1);
|
|
}
|
|
}
|
|
%}
|