diff generator/dgenerator.cpp @ 315:2049c3abd348 lifetime

more cleanup
author maxter <spambox@d-coding.com>
date Wed, 23 Dec 2009 23:54:39 +0200
parents 80b52f5e97b6
children
line wrap: on
line diff
--- a/generator/dgenerator.cpp	Wed Dec 23 23:17:36 2009 +0200
+++ b/generator/dgenerator.cpp	Wed Dec 23 23:54:39 2009 +0200
@@ -2461,7 +2461,7 @@
 //        writeConversionFunction(s, d_class);
 
     if (d_class->hasConstructors() && d_class->polymorphicBase() == d_class)
-        s << "extern(C) void qtd_" << d_class->name() << "_destructor(void *ptr);" << endl << endl;
+        s << "extern(C) void qtd_" << d_class->name() << "_delete(void *ptr);" << endl << endl;
 
     // qtd
     s << endl << "// C wrappers" << endl;