summaryrefslogtreecommitdiffstats
path: root/src/java/com
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/com')
-rwxr-xr-xsrc/java/com/jogamp/common/os/DynamicLookupHelper.java3
-rw-r--r--src/java/com/jogamp/gluegen/runtime/ProcAddressTable.java6
2 files changed, 4 insertions, 5 deletions
diff --git a/src/java/com/jogamp/common/os/DynamicLookupHelper.java b/src/java/com/jogamp/common/os/DynamicLookupHelper.java
index a4f74a4..5da2b67 100755
--- a/src/java/com/jogamp/common/os/DynamicLookupHelper.java
+++ b/src/java/com/jogamp/common/os/DynamicLookupHelper.java
@@ -39,8 +39,7 @@
package com.jogamp.common.os;
-/** Interface callers may use to use the ProcAddressHelper's {@link
- ProcAddressHelper#resetProcAddressTable resetProcAddressTable}
+/** Interface callers may use to use the ProcAddressHelper's {@link ProcAddressTable#reset reset}
helper method to install function pointers into a
ProcAddressTable. This must typically be written with native
code. */
diff --git a/src/java/com/jogamp/gluegen/runtime/ProcAddressTable.java b/src/java/com/jogamp/gluegen/runtime/ProcAddressTable.java
index 448c945..9a05fce 100644
--- a/src/java/com/jogamp/gluegen/runtime/ProcAddressTable.java
+++ b/src/java/com/jogamp/gluegen/runtime/ProcAddressTable.java
@@ -89,14 +89,14 @@ public abstract class ProcAddressTable {
public abstract long getAddressFor(String functionName);
- public void resetProcAddressTable(DynamicLookupHelper lookup) throws RuntimeException {
+ public void reset(DynamicLookupHelper lookup) throws RuntimeException {
Class tableClass = getClass();
Field[] fields = tableClass.getFields();
PrintStream dout = getDebugOutStream();
if (DEBUG) {
- dout.println("ProcAddressHelper.resetProcAddressTable(" + getClass().getName() + ")");
+ dout.println("ProcAddressTable.reset(" + getClass().getName() + ")");
}
for (int i = 0; i < fields.length; ++i) {
String addressFieldName = fields[i].getName();
@@ -137,7 +137,7 @@ public abstract class ProcAddressTable {
if (DEBUG_PREFIX != null) {
try {
out = new PrintStream(new BufferedOutputStream(new FileOutputStream(DEBUG_PREFIX + File.separatorChar
- + "procaddresshelper-" + (++debugNum) + ".txt")));
+ + "procaddresstable-" + (++debugNum) + ".txt")));
} catch (IOException e) {
e.printStackTrace();
out = System.err;