__internal_push_fstring

Macro __internal_push_fstring 

Source
macro_rules! __internal_push_fstring {
    ($l:ident, $($arg:tt)*) => { ... };
}
Expand description

Pushes a formatted string onto the stack.

ยงExamples

use dmsdk::*;

fn greeting(l: lua::State) -> i32 {
    let name = lua::check_string(l, 1);
    lua::push_fstring!(l, "Hello, {name}!");

    0
}