diff options
author | David Robillard <d@drobilla.net> | 2013-08-10 00:43:00 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2013-08-10 00:43:00 +0000 |
commit | 6bc70c7785f5c95a32a210ee1f2cddf0e46cb4a5 (patch) | |
tree | ebaf338d1034da10183fdb6e4dbc2a09f8fb1eed | |
parent | a27fdbdbd30fa2be7fdcfe2930ccdc10e0a8f390 (diff) | |
download | suil-6bc70c7785f5c95a32a210ee1f2cddf0e46cb4a5.tar.gz suil-6bc70c7785f5c95a32a210ee1f2cddf0e46cb4a5.tar.bz2 suil-6bc70c7785f5c95a32a210ee1f2cddf0e46cb4a5.zip |
Fix suil_instance_extension_data() for UIs with NULL extension_data (fix #924).
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5154 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r-- | NEWS | 6 | ||||
-rw-r--r-- | src/instance.c | 5 | ||||
-rw-r--r-- | wscript | 2 |
3 files changed, 11 insertions, 2 deletions
@@ -1,3 +1,9 @@ +suil (0.6.15) unstable; + + * Fix suil_instance_extension_data() for UIs with NULL extension_data + + -- David Robillard <d@drobilla.net> Fri, 09 Aug 2013 20:41:20 -0400 + suil (0.6.14) stable; * Print system error message if module fails to load diff --git a/src/instance.c b/src/instance.c index b45d7bf..7f651d9 100644 --- a/src/instance.c +++ b/src/instance.c @@ -324,5 +324,8 @@ const void* suil_instance_extension_data(SuilInstance* instance, const char* uri) { - return instance->descriptor->extension_data(uri); + if (instance->descriptor->extension_data) { + return instance->descriptor->extension_data(uri); + } + return NULL; } @@ -9,7 +9,7 @@ import waflib.extras.autowaf as autowaf # major increment <=> incompatible changes # minor increment <=> compatible changes (additions) # micro increment <=> no interface changes -SUIL_VERSION = '0.6.14' +SUIL_VERSION = '0.6.15' SUIL_MAJOR_VERSION = '0' # Mandatory waf variables |