Use comptime for fully declarative LV2 and Custom commands #14

Merged
luna merged 69 commits from declarative-commands into master 2020-06-02 21:37:47 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit dd1b493da2 - Show all commits

View File

@ -59,13 +59,13 @@ pub const NewCommandType = enum {
fn LV2Command(
comptime tag: NewCommand.Tag,
comptime lv2_url: []const u8,
comptime plugin_url: []const u8,
comptime LV2Parameters: type,
) type {
return struct {
pub const base_tag = tag;
pub const command_type = NewCommandType.lv2_command;
pub const lv2_url = lv2_url;
pub const lv2_url = plugin_url;
base: NewCommand,
split: usize,