Mercurial > projects > qtd
comparison generator/cppgenerator.cpp @ 310:5bcfe9e7db7f lifetime
Committing local changes
author | maxter <spambox@d-coding.com> |
---|---|
date | Wed, 23 Dec 2009 16:10:46 +0200 |
parents | 17b5e13364b7 |
children |
comparison
equal
deleted
inserted
replaced
263:a7b313b8b149 | 310:5bcfe9e7db7f |
---|---|
228 s << "_getter"; | 228 s << "_getter"; |
229 | 229 |
230 s << "("; | 230 s << "("; |
231 const AbstractMetaClass *owner = java_function->ownerClass(); | 231 const AbstractMetaClass *owner = java_function->ownerClass(); |
232 | 232 |
233 bool has_d_ptr = java_function->isConstructor() && owner && owner->typeEntry()->isObject(); | 233 bool has_d_ptr = java_function->isConstructor() && owner && owner->isPolymorphic(); |
234 const AbstractMetaArgumentList arg_list = java_function->arguments(); | 234 const AbstractMetaArgumentList arg_list = java_function->arguments(); |
235 if (has_d_ptr) { | 235 if (has_d_ptr) { |
236 s << "void *d_ptr"; | 236 s << "void *d_ptr"; |
237 if (arg_list.size() > 0) | 237 if (arg_list.size() > 0) |
238 s << ", "; | 238 s << ", "; |