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
|
/// "LV2 Commands" are commands that receive split, index, and then receive
|
||||||
/// any f64 arguments.
|
/// any f64 arguments.
|
||||||
lv2_command,
|
lv2_command,
|
||||||
|
|
||||||
|
custom_command,
|
||||||
};
|
};
|
||||||
|
|
||||||
fn LV2Command(
|
fn LV2Command(
|
||||||
|
@ -33,19 +35,19 @@ fn LV2Command(
|
||||||
}
|
}
|
||||||
|
|
||||||
fn CustomCommand(
|
fn CustomCommand(
|
||||||
comptime tag: Command.tag,
|
comptime tag: Command.Tag,
|
||||||
comptime plugin: type,
|
comptime Plugin: type,
|
||||||
comptime parameters: type,
|
comptime PluginParameters: type,
|
||||||
) type {
|
) type {
|
||||||
return struct {
|
return struct {
|
||||||
pub const base_tag = tag;
|
pub const base_tag = tag;
|
||||||
pub const command_type = CommandType.plugin_command;
|
pub const command_type = CommandType.custom_command;
|
||||||
pub const plugin_type = plugin;
|
pub const plugin_type = Plugin;
|
||||||
|
|
||||||
base: Command,
|
base: Command,
|
||||||
split: usize,
|
split: usize,
|
||||||
index: usize,
|
index: usize,
|
||||||
parameters: LV2Parameters,
|
parameters: PluginParameters,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue