Mercurial > projects > qtd
comparison 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 |
comparison
equal
deleted
inserted
replaced
314:80b52f5e97b6 | 315:2049c3abd348 |
---|---|
2459 | 2459 |
2460 // if (d_class->needsConversionFunc) | 2460 // if (d_class->needsConversionFunc) |
2461 // writeConversionFunction(s, d_class); | 2461 // writeConversionFunction(s, d_class); |
2462 | 2462 |
2463 if (d_class->hasConstructors() && d_class->polymorphicBase() == d_class) | 2463 if (d_class->hasConstructors() && d_class->polymorphicBase() == d_class) |
2464 s << "extern(C) void qtd_" << d_class->name() << "_destructor(void *ptr);" << endl << endl; | 2464 s << "extern(C) void qtd_" << d_class->name() << "_delete(void *ptr);" << endl << endl; |
2465 | 2465 |
2466 // qtd | 2466 // qtd |
2467 s << endl << "// C wrappers" << endl; | 2467 s << endl << "// C wrappers" << endl; |
2468 d_funcs = d_class->functionsInTargetLang(); | 2468 d_funcs = d_class->functionsInTargetLang(); |
2469 if (!d_class->isInterface()) | 2469 if (!d_class->isInterface()) |