aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/gluegen
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/com/jogamp/gluegen')
-rwxr-xr-xsrc/java/com/jogamp/gluegen/runtime/NativeLibrary.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/java/com/jogamp/gluegen/runtime/NativeLibrary.java b/src/java/com/jogamp/gluegen/runtime/NativeLibrary.java
index c48cf89..7de75a3 100755
--- a/src/java/com/jogamp/gluegen/runtime/NativeLibrary.java
+++ b/src/java/com/jogamp/gluegen/runtime/NativeLibrary.java
@@ -57,7 +57,7 @@ import java.util.*;
ProcAddressTable glue code generation style without additional
supporting code needed in the generated library. */
-public class NativeLibrary {
+public class NativeLibrary implements DynamicLookupHelper {
private static final int WINDOWS = 1;
private static final int UNIX = 2;
private static final int MACOSX = 3;
@@ -202,10 +202,10 @@ public class NativeLibrary {
}
/** Looks up the given function name in this native library. */
- public long lookupFunction(String functionName) {
+ public long dynamicLookupFunction(String funcName) {
if (libraryHandle == 0)
throw new RuntimeException("Library is not open");
- return dynLink.lookupSymbol(libraryHandle, functionName);
+ return dynLink.lookupSymbol(libraryHandle, funcName);
}
/** Retrieves the low-level library handle from this NativeLibrary