diff options
author | Mathieu Féry <[email protected]> | 2023-08-04 10:50:10 +0200 |
---|---|---|
committer | Mathieu Féry <[email protected]> | 2023-08-04 10:52:05 +0200 |
commit | b08c61935daa0191f4ec59c6998bc56dae18e54d (patch) | |
tree | 61713f0bdad677c61ea22e90583f67c1c2e5fa83 /src/java/com/jogamp/gluegen/procaddress/ProcAddressEmitter.java | |
parent | fe21c87b24842d67df686b7c48fa36ed65a9afc9 (diff) |
feat(callbackGenerator): Prevent generation of CallBack interface if setter related isn't present
Diffstat (limited to 'src/java/com/jogamp/gluegen/procaddress/ProcAddressEmitter.java')
-rw-r--r-- | src/java/com/jogamp/gluegen/procaddress/ProcAddressEmitter.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/java/com/jogamp/gluegen/procaddress/ProcAddressEmitter.java b/src/java/com/jogamp/gluegen/procaddress/ProcAddressEmitter.java index b812416..6fb8a10 100644 --- a/src/java/com/jogamp/gluegen/procaddress/ProcAddressEmitter.java +++ b/src/java/com/jogamp/gluegen/procaddress/ProcAddressEmitter.java @@ -78,13 +78,14 @@ public class ProcAddressEmitter extends JavaEmitter { protected String tableClassName; @Override - public void beginFunctions(final TypeDictionary typedefDictionary, final TypeDictionary structDictionary, final Map<Type, Type> canonMap) throws Exception { + public void beginFunctions(final TypeDictionary typedefDictionary, final TypeDictionary structDictionary, + final Map<Type, Type> canonMap, final List<FunctionSymbol> cFunctions) throws Exception { this.typedefDictionary = typedefDictionary; if (getProcAddressConfig().emitProcAddressTable()) { beginProcAddressTable(); } - super.beginFunctions(typedefDictionary, structDictionary, canonMap); + super.beginFunctions(typedefDictionary, structDictionary, canonMap, cFunctions); } @Override |