aboutsummaryrefslogtreecommitdiffstats
path: root/src/libgamma/Libgamma.java
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-09-05 03:22:26 +0200
committerMattias Andrée <maandree@operamail.com>2014-09-05 03:22:26 +0200
commit4aed814123b2582d3ccdc80c1893da4f72849cb9 (patch)
tree61df832dc1264ef3e791990f713c11a5aca98c56 /src/libgamma/Libgamma.java
parentm (diff)
downloadjlibgamma-4aed814123b2582d3ccdc80c1893da4f72849cb9.tar.gz
jlibgamma-4aed814123b2582d3ccdc80c1893da4f72849cb9.tar.bz2
jlibgamma-4aed814123b2582d3ccdc80c1893da4f72849cb9.tar.xz
begin on test
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/libgamma/Libgamma.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/libgamma/Libgamma.java b/src/libgamma/Libgamma.java
index 66e9999..dbb9d1c 100644
--- a/src/libgamma/Libgamma.java
+++ b/src/libgamma/Libgamma.java
@@ -32,7 +32,12 @@ class Libgamma
return;
Libgamma.initialised = true;
- /* TODO load the library */
+ try
+ { System.loadLibrary("gamma-java");
+ }
+ catch (Throwable err)
+ { throw new Error(err);
+ }
}