summaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/gluegen/procaddress
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2015-03-05 08:14:19 +0100
committerSven Gothel <[email protected]>2015-03-05 08:14:19 +0100
commitea6df88075c44f6b6317920119d6b33d5d97b362 (patch)
tree099a24d889dfe5c0525e43541e1c297f3cbba9f8 /src/java/com/jogamp/gluegen/procaddress
parent72d3635279ffc8ad88e47dff9bbe95d211226d11 (diff)
Bug 1134 - Fix regression: Static C-Function call must use original API name
- Regression of commit 72d3635279ffc8ad88e47dff9bbe95d211226d11 CMethodBindingEmitter emits statically linked function calls, hence needs to use the original name of AliasedSymbol. AliasedSymbol: Add 'getOrigName()' at creation!
Diffstat (limited to 'src/java/com/jogamp/gluegen/procaddress')
-rw-r--r--src/java/com/jogamp/gluegen/procaddress/ProcAddressCMethodBindingEmitter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/com/jogamp/gluegen/procaddress/ProcAddressCMethodBindingEmitter.java b/src/java/com/jogamp/gluegen/procaddress/ProcAddressCMethodBindingEmitter.java
index abbe521..81aa96b 100644
--- a/src/java/com/jogamp/gluegen/procaddress/ProcAddressCMethodBindingEmitter.java
+++ b/src/java/com/jogamp/gluegen/procaddress/ProcAddressCMethodBindingEmitter.java
@@ -198,7 +198,7 @@ public class ProcAddressCMethodBindingEmitter extends CMethodBindingEmitter {
// call throught the run-time function pointer
writer.print("(* ptr_");
- writer.print(mBinding.getCSymbol().getName());
+ writer.print(mBinding.getCSymbol().getName()); // use renamed base-name
writer.print(") ");
writer.print("(");
emitBodyPassCArguments(writer);