Mercurial > projects > qtd
comparison d2/qtd/Marshal.d @ 402:e67ce7c21758
gdc & 64 bit changes
author | Eldar Insafutdinov |
---|---|
date | Thu, 17 Mar 2011 19:45:42 +0000 |
parents | da4235301224 |
children |
comparison
equal
deleted
inserted
replaced
395:d757b8b1ca75 | 402:e67ce7c21758 |
---|---|
89 | 89 |
90 /** | 90 /** |
91 Generates C++-to-D conversion code for the | 91 Generates C++-to-D conversion code for the |
92 argument argIndex. | 92 argument argIndex. |
93 */ | 93 */ |
94 string generateConvToD(uint argIndex) | 94 string generateConvToD(size_t argIndex) |
95 { | 95 { |
96 string res = format_ctfe(q{ | 96 string res = format_ctfe(q{ |
97 | 97 |
98 static if (isQObjectType!(Args[${0}]) || isObjectType!(Args[${0}])) | 98 static if (isQObjectType!(Args[${0}]) || isObjectType!(Args[${0}])) |
99 auto _out${0} = Args[${0}].__getObject(*cast(void**)_a[${0}]); | 99 auto _out${0} = Args[${0}].__getObject(*cast(void**)_a[${0}]); |