| Crates.io | emojicode |
| lib.rs | emojicode |
| version | 0.1.4 |
| created_at | 2018-03-10 23:59:32.906387+00 |
| updated_at | 2018-03-15 21:00:22.65692+00 |
| description | Convenience wrappers for emojicode-sys |
| homepage | https://git.procrastination.life/~/emojicode.rs.git/about |
| repository | https://git.procrastination.life/~/emojicode.rs.git/ |
| max_upload_size | |
| id | 54925 |
| size | 7,422 |
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);
}
);