Macro reaper_medium::reaper_str
source · [−]macro_rules! reaper_str {
($lit:expr) => { ... };
}
Expand description
This creates a static ReaperStr
string literal embedded in the binary.
If you pass this to REAPER functions, no string conversion has to be done at runtime.
Example
use reaper_medium::{ReaperStr, reaper_str};
let text: &'static ReaperStr = reaper_str!("Hello REAPER!");