From a73c992290930e617c78241bae9fe20cb18a01a9 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 30 Jun 2023 11:36:33 +0200 Subject: GlueGen JavaCallback: Resolve key mapping of callback and associated resources via 'JavaCallbackKey' config and custom `SetCallback-KeyClass` Updated unit test and doc accordingly. Unit tests handle OpenAL's AL_SOFT_callback_buffer and AL_SOFT_events. Tested global scope (no key, default) and 1 key (default) and 1 key (custom class). Added more query functions, which all only take the `SetCallbackFunction` key arguments as specified. Cleaned up JavaCallback* config class field naminig scheme. Added 'synchronized (..Map) { }' block in crucial `SetCallbackFunction`, rendering implementation thread safe. --- doc/GlueGen_Mapping.html | 313 ++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 280 insertions(+), 33 deletions(-) (limited to 'doc/GlueGen_Mapping.html') diff --git a/doc/GlueGen_Mapping.html b/doc/GlueGen_Mapping.html index 5881a9d..2bbc07a 100644 --- a/doc/GlueGen_Mapping.html +++ b/doc/GlueGen_Mapping.html @@ -452,8 +452,16 @@
  • Java Callback from Native C-API Support
  • Misc Configurations