mirror of
https://github.com/eclipse/upm.git
synced 2025-03-24 09:20:39 +03:00

* Renamed all files from grovespeaker to speaker * Replaced all instances of grovespeaker with speaker * Updated all CMake files
19 lines
378 B
OpenEdge ABL
19 lines
378 B
OpenEdge ABL
%module javaupm_speaker
|
|
%include "../upm.i"
|
|
|
|
%{
|
|
#include "speaker.hpp"
|
|
%}
|
|
|
|
%include "speaker.hpp"
|
|
|
|
%pragma(java) jniclasscode=%{
|
|
static {
|
|
try {
|
|
System.loadLibrary("javaupm_speaker");
|
|
} catch (UnsatisfiedLinkError e) {
|
|
System.err.println("Native code library failed to load. \n" + e);
|
|
System.exit(1);
|
|
}
|
|
}
|
|
%} |