fix typos

This commit is contained in:
Luna 2020-05-31 21:55:22 -03:00
parent 303a40758d
commit 10b2c69605

View file

@ -13,6 +13,8 @@ pub const CommandType = enum {
/// "LV2 Commands" are commands that receive split, index, and then receive
/// any f64 arguments.
lv2_command,
custom_command,
};
fn LV2Command(
@ -33,19 +35,19 @@ fn LV2Command(
}
fn CustomCommand(
comptime tag: Command.tag,
comptime plugin: type,
comptime parameters: type,
comptime tag: Command.Tag,
comptime Plugin: type,
comptime PluginParameters: type,
) type {
return struct {
pub const base_tag = tag;
pub const command_type = CommandType.plugin_command;
pub const plugin_type = plugin;
pub const command_type = CommandType.custom_command;
pub const plugin_type = Plugin;
base: Command,
split: usize,
index: usize,
parameters: LV2Parameters,
parameters: PluginParameters,
};
}