summaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/common/os/DynamicLibraryBundle.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/com/jogamp/common/os/DynamicLibraryBundle.java')
-rw-r--r--src/java/com/jogamp/common/os/DynamicLibraryBundle.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/java/com/jogamp/common/os/DynamicLibraryBundle.java b/src/java/com/jogamp/common/os/DynamicLibraryBundle.java
index b47c69b..fc36908 100644
--- a/src/java/com/jogamp/common/os/DynamicLibraryBundle.java
+++ b/src/java/com/jogamp/common/os/DynamicLibraryBundle.java
@@ -357,6 +357,7 @@ public class DynamicLibraryBundle implements DynamicLookupHelper {
return 0;
}
+ @Override
public final long dynamicLookupFunction(String funcName) {
if(!isToolLibLoaded() || null==funcName) {
if(DEBUG_LOOKUP && !isToolLibLoaded()) {
@@ -383,6 +384,11 @@ public class DynamicLibraryBundle implements DynamicLookupHelper {
}
return addr;
}
+
+ @Override
+ public final boolean isFunctionAvailable(String funcName) {
+ return 0 != dynamicLookupFunction(funcName);
+ }
/** Inherit access */
static final class GlueJNILibLoader extends JNILibLoaderBase {