Mercurial > projects > qtd
comparison generator/cppgenerator.cpp @ 257:17b5e13364b7 lifetime
(none)
author | maxter |
---|---|
date | Wed, 16 Sep 2009 13:56:02 +0000 |
parents | cf8a415f3f32 |
children | 5bcfe9e7db7f |
comparison
equal
deleted
inserted
replaced
256:b1abe7f57321 | 257:17b5e13364b7 |
---|---|
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->hasVirtualFunctions()/* || owner->typeEntry()->isObject()*/ ); | 233 bool has_d_ptr = java_function->isConstructor() && owner && owner->typeEntry()->isObject(); |
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 << ", "; |