diff --git a/bindgen.cc b/bindgen.cc index 2e8e8bb..4b93546 100644 --- a/bindgen.cc +++ b/bindgen.cc @@ -55,6 +55,8 @@ static std::string get_ctype(typeinfo type, int name = 1, int do_ptr = 1) { } else { ret += "MwCXX::" + type.widget_type + "*"; } + } else if(type.type == "class"){ + ret += "MwClass"; } if(type.unsigned_num) ret = "unsigned " + ret;