[][src]Macro nsi::strings

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

A macro to create a string array argument.

Example

// Create rendering context.
let ctx = nsi::Context::new(&[]).unwrap();
// One of these is not an actor:
ctx.create("dummy", nsi::NodeType::Attributes, &[
   nsi::strings!("actors", &["Klaus Kinski", "Giorgio Moroder", "Rainer Brandt", "Helge Schneider"]).array_len(2)
]);