Mercurial > projects > qtd
diff generator/containergenerator.cpp @ 254:34a37904ff77
(none)
author | maxter |
---|---|
date | Sun, 30 Aug 2009 10:59:56 +0000 |
parents | 37eed70de029 |
children | 515d6e1c7b10 49bfc86ff583 |
line wrap: on
line diff
--- a/generator/containergenerator.cpp Sun Aug 30 09:59:12 2009 +0000 +++ b/generator/containergenerator.cpp Sun Aug 30 10:59:56 2009 +0000 @@ -447,7 +447,7 @@ d_type = cls_name; if (centry->designatedInterface()) d_type = centry->designatedInterface()->name(); - nativeId = ".nativeId"; + nativeId = ".__nativeId"; } if (centry->designatedInterface()) { @@ -470,7 +470,7 @@ << INDENT << "*elem = arr[pos]" << nativeId << ";" << endl << "}" << endl << endl - << "package " << d_type << " qtd_" << cls_name << "_cpp_to_d(" << cpp_type << " __qt_return_value)" << endl + << "package " << d_type << " qtd_" << cls_name << "_cpp_to_d(" << cpp_type << " ret)" << endl << "{" << endl; marshallFromCppToD(s, centry);