Use comptime for fully declarative LV2 and Custom commands #14
1 changed files with 1 additions and 2 deletions
|
@ -422,8 +422,7 @@ pub const Image = struct {
|
|||
self: *Image,
|
||||
comptime Plugin: type,
|
||||
position: plugins.Position,
|
||||
comptime ExtraType: type,
|
||||
extra: ExtraType,
|
||||
extra: *ParamMap,
|
||||
) !void {
|
||||
var plugin_opt: ?Plugin = Plugin.init(self.allocator, extra);
|
||||
if (plugin_opt == null) {
|
||||
|
|
Loading…
Reference in a new issue