Mercurial > projects > qtd
comparison generator/cppimplgenerator.cpp @ 304:04b52676b45f signals
fixed compiling all packages
author | eldar_ins@eldar-laptop |
---|---|
date | Sun, 13 Dec 2009 06:24:55 +0500 |
parents | 98b211f3ee34 |
children | 0cc996b7a601 |
comparison
equal
deleted
inserted
replaced
303:98b211f3ee34 | 304:04b52676b45f |
---|---|
719 << "}" << endl; | 719 << "}" << endl; |
720 } | 720 } |
721 | 721 |
722 if (java_class->typeEntry()->isValue()) | 722 if (java_class->typeEntry()->isValue()) |
723 { | 723 { |
724 if (!java_class->typeEntry()->hasPrivateCopyConstructor()) // can do a copy if we have a public ctor or don't have any | |
724 { | 725 { |
725 QString argName = "orig"; | 726 QString argName = "orig"; |
726 s << endl << endl | 727 s << endl << endl |
727 << "extern \"C\" DLL_PUBLIC void qtd_" << java_class->name() << "_placed_copy(void* " | 728 << "extern \"C\" DLL_PUBLIC void qtd_" << java_class->name() << "_placed_copy(void* " |
728 << argName << ", void* place) {" << endl | 729 << argName << ", void* place) {" << endl |