fix typos
This commit is contained in:
parent
303a40758d
commit
10b2c69605
1 changed files with 8 additions and 6 deletions
14
src/lang.zig
14
src/lang.zig
|
@ -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,
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue