remove edn_ prefix from a couple macros

This commit is contained in:
🪞👃🪞 2025-01-18 00:14:46 +01:00
parent 798de37172
commit 34b35d08be
8 changed files with 25 additions and 25 deletions

View file

@ -674,9 +674,9 @@ edn_command!(SamplerTuiCommand: |state: SamplerTui| {
return None
})
});
edn_provide!(usize: |self: SamplerTui| {});
edn_provide!(PathBuf: |self: SamplerTui| {});
edn_provide!(Arc<str>: |self: SamplerTui| {});
provide!(usize: |self: SamplerTui| {});
provide!(PathBuf: |self: SamplerTui| {});
provide!(Arc<str>: |self: SamplerTui| {});
edn_command!(FileBrowserCommand: |state: SamplerTui| {
("begin" [] Self::Begin)
("cancel" [] Self::Cancel)
@ -713,10 +713,10 @@ edn_command!(SamplerCommand: |state: Sampler| {
("note/off" [p: u7]
Self::NoteOff(p.expect("no pitch")))
});
edn_provide!(u7: |self: Sampler| {});
edn_provide!(Option<Arc<RwLock<Sample>>>: |self: Sampler| {});
edn_provide!(usize: |self: Sampler| {});
edn_provide!(f32: |self: Sampler| {});
provide!(u7: |self: Sampler| {});
provide!(Option<Arc<RwLock<Sample>>>: |self: Sampler| {});
provide!(usize: |self: Sampler| {});
provide!(f32: |self: Sampler| {});
input_to_command!(FileBrowserCommand: |state:SamplerTui, input: Event|match input { _ => return None });
command!(|self: FileBrowserCommand,state:SamplerTui|match self { _ => todo!() });
//input_to_command!(SamplerTuiCommand: |state: SamplerTui, input: Event|match state.mode{