mirror of
https://github.com/eclipse/upm.git
synced 2025-03-25 01:39:59 +03:00

This module was initially known as GroveCollision. It has been now changed to Collision. C source and examples added. Signed-off-by: Abhishek Malik <abhishek.malik@intel.com>
19 lines
386 B
OpenEdge ABL
19 lines
386 B
OpenEdge ABL
%module javaupm_collision
|
|
%include "../upm.i"
|
|
|
|
%{
|
|
#include "collision.hpp"
|
|
%}
|
|
|
|
%include "collision.hpp"
|
|
|
|
%pragma(java) jniclasscode=%{
|
|
static {
|
|
try {
|
|
System.loadLibrary("javaupm_collision");
|
|
} catch (UnsatisfiedLinkError e) {
|
|
System.err.println("Native code library failed to load. \n" + e);
|
|
System.exit(1);
|
|
}
|
|
}
|
|
%} |