diff options
author | Sven Gothel <[email protected]> | 2015-03-06 07:41:58 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2015-03-06 07:41:58 +0100 |
commit | 1df503b8f14b385b35c6b50a4ff7ff03d1c3134f (patch) | |
tree | c72874810009800c93bf83b46a8057f43d5392f2 /src/java/com/jogamp/gluegen/procaddress | |
parent | 4183867b055e99762d9b1a9163012657738be31a (diff) |
Bug 1134 - Fix ProcAddressEmitter.getFunctionPointerTypedefName() ; Fix JavaEmitter's Function/Struct Emission
Fix ProcAddressEmitter.getFunctionPointerTypedefName():
- needs to produce function-pointer-type name w/ original name
Fix JavaEmitter's Function/Struct Emission:
- needs to create FunctionSymbol w/ original native name,
- then rename - preserving the original one.
Diffstat (limited to 'src/java/com/jogamp/gluegen/procaddress')
-rw-r--r-- | src/java/com/jogamp/gluegen/procaddress/ProcAddressEmitter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/com/jogamp/gluegen/procaddress/ProcAddressEmitter.java b/src/java/com/jogamp/gluegen/procaddress/ProcAddressEmitter.java index a7739df..23c7fb5 100644 --- a/src/java/com/jogamp/gluegen/procaddress/ProcAddressEmitter.java +++ b/src/java/com/jogamp/gluegen/procaddress/ProcAddressEmitter.java @@ -178,7 +178,7 @@ public class ProcAddressEmitter extends JavaEmitter { * whether or not the typedef is actually defined. */ protected String getFunctionPointerTypedefName(final FunctionSymbol sym) { - return getProcAddressConfig().convertToFunctionPointerName(sym.getName()); + return getProcAddressConfig().convertToFunctionPointerName(sym.getOrigName()); } //---------------------------------------------------------------------- |