mirror of
https://github.com/eclipse/upm.git
synced 2025-03-26 02:10:02 +03:00

Signed-off-by: Bogdan Ichim <bogdan.ichim@rinftech.com> Signed-off-by: Stefan Andritoiu <stefan.andritoiu@gmail.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
24 lines
489 B
OpenEdge ABL
24 lines
489 B
OpenEdge ABL
%module javaupm_lcm1602
|
|
%include "../upm.i"
|
|
%include "typemaps.i"
|
|
%include "std_vector.i"
|
|
%include "stdint.i"
|
|
|
|
%template(byteVector) std::vector<uint8_t>;
|
|
|
|
%include "lcm1602.hpp"
|
|
%{
|
|
#include "lcm1602.hpp"
|
|
%}
|
|
|
|
%pragma(java) jniclasscode=%{
|
|
static {
|
|
try {
|
|
System.loadLibrary("javaupm_lcm1602");
|
|
} catch (UnsatisfiedLinkError e) {
|
|
System.err.println("Native code library failed to load. \n" + e);
|
|
System.exit(1);
|
|
}
|
|
}
|
|
%}
|