Support c_char type
diff --git a/syntax/tokens.rs b/syntax/tokens.rs
index 8ce7ed9..d450f73 100644
--- a/syntax/tokens.rs
+++ b/syntax/tokens.rs
@@ -11,7 +11,10 @@
fn to_tokens(&self, tokens: &mut TokenStream) {
match self {
Type::Ident(ident) => {
- if ident.rust == CxxString {
+ if ident.rust == Char {
+ let span = ident.rust.span();
+ tokens.extend(quote_spanned!(span=> ::std::os::raw::));
+ } else if ident.rust == CxxString {
let span = ident.rust.span();
tokens.extend(quote_spanned!(span=> ::cxx::));
}