Some small convenience things for emojicode-sys
.
Example:
extern crate emojicode;
use *;
package_version!;
emoji_functions!;
prepare_class!;
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);
}
);