Mercurial > projects > qtd
diff generator/cppimplgenerator.cpp @ 34:17cc45b32686
QtOpenGL
author | eldar |
---|---|
date | Sat, 16 May 2009 18:06:25 +0000 |
parents | cf8a415f3f32 |
children | 5917a613d118 |
line wrap: on
line diff
--- a/generator/cppimplgenerator.cpp Sat May 16 17:12:06 2009 +0000 +++ b/generator/cppimplgenerator.cpp Sat May 16 18:06:25 2009 +0000 @@ -501,14 +501,6 @@ InterfaceTypeEntry *ite = static_cast<InterfaceTypeEntry*>(iface->typeEntry()); QString real_name = ite->origin()->qualifiedCppName(); - - - /*const TypeEntry* te = TypeDatabase::instance()->findType(); - if(te) - real_name = te->qualifiedCppName(); - else - real_name = iface->qualifiedCppName();*/ - s << "extern \"C\" DLL_PUBLIC " << real_name << "* qtd_" << java_class->name() << "_cast_to_" << iface->qualifiedCppName() << "(" << java_class->qualifiedCppName() << " *ptr)" << endl << "{" << endl; Indentation indent(INDENT);