Create Rust wrapping code for enums

This commit is contained in:
Ryan Levick
2018-02-22 00:55:11 +01:00
parent 0f8524da3c
commit 01c31cb33d
3 changed files with 65 additions and 1 deletions

View File

@ -77,6 +77,7 @@ pub fn mangled_import_name(struct_: Option<&str>, f: &str) -> String {
pub type Type = char;
pub const TYPE_ENUM: char = '\u{5d}';
pub const TYPE_NUMBER: char = '\u{5e}';
pub const TYPE_BORROWED_STR: char = '\u{5f}';
pub const TYPE_STRING: char = '\u{60}';