Mercurial > projects > ddmd
comparison dmd/TemplateTupleParameter.d @ 94:3a0b150c9841
Objects -> Vector!Object iteration 1
author | Eldar Insafutdinov <e.insafutdinov@gmail.com> |
---|---|
date | Mon, 30 Aug 2010 23:00:34 +0100 |
parents | 2e2a5c3f943a |
children | 3482c73a991b |
comparison
equal
deleted
inserted
replaced
93:df6d0f967680 | 94:3a0b150c9841 |
---|---|
135 for (size_t j = 0; j < ovar.objects.dim; j++) | 135 for (size_t j = 0; j < ovar.objects.dim; j++) |
136 ovar.objects.data[j] = tiargs.data[i + j]; | 136 ovar.objects.data[j] = tiargs.data[i + j]; |
137 } | 137 } |
138 } | 138 } |
139 *psparam = new TupleDeclaration(loc, ident, ovar.objects); | 139 *psparam = new TupleDeclaration(loc, ident, ovar.objects); |
140 dedtypes.data[i] = cast(void*)ovar; | 140 dedtypes[i] = ovar; |
141 | 141 |
142 return MATCH.MATCHexact; | 142 return MATCH.MATCHexact; |
143 } | 143 } |
144 | 144 |
145 override void* dummyArg() | 145 override Object dummyArg() |
146 { | 146 { |
147 return null; | 147 return null; |
148 } | 148 } |
149 } | 149 } |