Macro nsi::strings

source ·
macro_rules! strings {
    ($name: tt, $value: expr) => { ... };
}
Expand description

Create a String array argument.

Examples

// One of these is not an actor:
ctx.set_attribute(
    "dummy",
    &[nsi::strings!(
        "actors",
        &["Klaus Kinski", "Giorgio Moroder", "Rainer Brandt"]
    )],
);