comparison generator/containergenerator.cpp @ 125:76e5e8597a83

fixes for ldc on windows
author eldar
date Fri, 05 Jun 2009 14:54:20 +0000
parents 136c9ee83ee5
children ae06da58ec25
comparison
equal deleted inserted replaced
124:138753025375 125:76e5e8597a83
308 } 308 }
309 } 309 }
310 if (num_funcs == 0) 310 if (num_funcs == 0)
311 return; 311 return;
312 312
313 s << "version (Windows) {" << endl 313 s << "version (cpp_shared) {" << endl
314 << " private extern (C) void qtd_" << cls->package().replace(".", "_") << "_ArrayOps_initCallBacks(void* callbacks);" << endl << endl 314 << " private extern (C) void qtd_" << cls->package().replace(".", "_") << "_ArrayOps_initCallBacks(void* callbacks);" << endl << endl
315 << " static this() {" << endl 315 << " static this() {" << endl
316 << " void*[" << num_funcs << "] callbacks; " << endl << endl; 316 << " void*[" << num_funcs << "] callbacks; " << endl << endl;
317 317
318 num_funcs = 0; 318 num_funcs = 0;