emojicode

Crates.ioemojicode
lib.rsemojicode
version0.1.4
sourcesrc
created_at2018-03-10 23:59:32.906387
updated_at2018-03-15 21:00:22.65692
descriptionConvenience wrappers for emojicode-sys
homepagehttps://git.procrastination.life/~/emojicode.rs.git/about
repositoryhttps://git.procrastination.life/~/emojicode.rs.git/
max_upload_size
id54925
size7,422
Paul (MagnificentPako)

documentation

https://docs.rs/emojicode

README

Some small convenience things for emojicode-sys.

Example:

#[macro_use]
extern crate emojicode;

use emojicode::*;

package_version!(0, 1);

emoji_functions!(
    e_hello(thread) {
        thread.return_from_function_with_value(
            String::from("Hello from Rust!")
                .to_value()
                .unwrap()
        );
    }
);

prepare_class!(
    (class, name) {
        println!("{}", name);
    }
);
Commit count: 0

cargo fmt