project 0.1.2

Project automation powered by Rust and Lua
1
2
3
4
5
6
7
8
9
10
11
use self::new::new;

mod new;

pub fn register(lua: &mut Lua) {
    // Buffer
    let mut g = lua.set_global(c"Buffer");
    let mut t = g.push_table(0, 1);

    t.set(c"new").push_fn(new);
}