summaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/common/os/DynamicLookupHelper.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-02-12 06:06:59 +0100
committerSven Gothel <[email protected]>2012-02-12 06:06:59 +0100
commitbd5be69aee6987754f1cbf39f61280c5c72536b3 (patch)
treeb6894cbc2bc6e659ac0d921a9c50ff664269faac /src/java/com/jogamp/common/os/DynamicLookupHelper.java
parent67854df4b16ce92d0e792f3c693ced0a6470f6cc (diff)
DynamicLibraryBundle (enhancement)
- Hold DEBUG, DEBUG_LOOKUP in DynamicLookupHelper - Tool complete only if named tool's GetProcAddressFunc is avail - Allow no tool/glue lib's - Use DEBUG_LOCKUP for lockup symbol trace
Diffstat (limited to 'src/java/com/jogamp/common/os/DynamicLookupHelper.java')
-rwxr-xr-xsrc/java/com/jogamp/common/os/DynamicLookupHelper.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/java/com/jogamp/common/os/DynamicLookupHelper.java b/src/java/com/jogamp/common/os/DynamicLookupHelper.java
index 9c343d5..20fd01e 100755
--- a/src/java/com/jogamp/common/os/DynamicLookupHelper.java
+++ b/src/java/com/jogamp/common/os/DynamicLookupHelper.java
@@ -39,12 +39,17 @@
package com.jogamp.common.os;
+import jogamp.common.Debug;
+
/** Interface callers may use ProcAddressHelper's
* {@link com.jogamp.gluegen.runtime.ProcAddressTable#reset(com.jogamp.common.os.DynamicLookupHelper) reset}
* helper method to install function pointers into a
* ProcAddressTable. This must typically be written with native
* code. */
public interface DynamicLookupHelper {
+ public static final boolean DEBUG = Debug.debug("NativeLibrary");
+ public static final boolean DEBUG_LOOKUP = Debug.debug("NativeLibrary.Lookup");
+
/**
* Try to fetch the function pointer for function 'funcName'.
*/