diff options
author | David Robillard <d@drobilla.net> | 2007-07-23 06:03:39 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-07-23 06:03:39 +0000 |
commit | 043e683a796e1338a8874b0e7c195292ff32b7de (patch) | |
tree | d580453b0d91ec7bdf304714ce52e9749a73db1d /src/plugin.c | |
parent | 64b48129d10118a9fbf11aec46fa557b5d302f31 (diff) | |
download | lilv-043e683a796e1338a8874b0e7c195292ff32b7de.tar.gz lilv-043e683a796e1338a8874b0e7c195292ff32b7de.tar.bz2 lilv-043e683a796e1338a8874b0e7c195292ff32b7de.zip |
Broke API to separate input/output from type (less code repetition and SLV2 is more useful with unknown extended port types this way).
Switched enum symbol naming scheme to be more typical and future proof.
Added LV2 OSC support.
git-svn-id: http://svn.drobilla.net/lad/slv2@600 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/plugin.c')
-rw-r--r-- | src/plugin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugin.c b/src/plugin.c index 80f59a5..ed80ff1 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -571,7 +571,7 @@ slv2_plugin_get_guis(SLV2Plugin plugin) for (int i=0; i < raptor_sequence_size(result); ++i) { SLV2Value val = (SLV2Value)raptor_sequence_get_at(result, i); val->type = SLV2_VALUE_GUI; - val->val.gui_type_val = SLV2_GTK2_GUI; + val->val.gui_type_val = SLV2_GUI_TYPE_GTK2; } return result; @@ -612,7 +612,7 @@ const char* slv2_gui_type_get_uri(SLV2GUIType type) { // Only one for now... - assert(type == SLV2_GTK2_GUI); + assert(type == SLV2_GUI_TYPE_GTK2); return "http://ll-plugins.nongnu.org/lv2/ext/gtk2gui"; } |