diff options
author | Michael Bien <[email protected]> | 2010-04-24 20:10:10 +0200 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-04-24 20:10:10 +0200 |
commit | 7cc445f761eae9a881172095b3aa85709f0f1f3a (patch) | |
tree | 401811dd715561fbf81bbb62de16fe3793b0373c /src/java/com | |
parent | 64b0148972c410a8f76c5f55ed866060886849a7 (diff) |
renamed method.
Diffstat (limited to 'src/java/com')
-rwxr-xr-x | src/java/com/jogamp/common/os/DynamicLookupHelper.java | 3 | ||||
-rw-r--r-- | src/java/com/jogamp/gluegen/runtime/ProcAddressTable.java | 6 |
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; |