Mercurial > projects > ddmd
comparison dmd/TypeSArray.d @ 96:acd69f84627e
further work
author | Trass3r |
---|---|
date | Tue, 31 Aug 2010 02:12:15 +0200 |
parents | 2e2a5c3f943a |
children | 12c0c84d13fd |
comparison
equal
deleted
inserted
replaced
95:ae5b11064a9a | 96:acd69f84627e |
---|---|
615 return ctype; | 615 return ctype; |
616 } | 616 } |
617 | 617 |
618 override type* toCParamtype() | 618 override type* toCParamtype() |
619 { | 619 { |
620 version(SARRAYVALUE) | |
621 { | |
622 return toCtype(); | |
623 } | |
624 else | |
625 { | |
620 // arrays are passed as pointers | 626 // arrays are passed as pointers |
621 return next.pointerTo().toCtype(); | 627 return next.pointerTo().toCtype(); |
622 } | |
623 } | 628 } |
629 } | |
630 } |