Mercurial > projects > ldc
comparison runtime/internal/aaA.d @ 717:a26b0c5d5942
Merged DMD 1.036.
Improved comments a little in the runtime source code.
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Wed, 22 Oct 2008 17:06:17 +0200 |
parents | 30b42a283c8e |
children | f5f8c21ce6ef |
comparison
equal
deleted
inserted
replaced
716:b654bb98d31d | 717:a26b0c5d5942 |
---|---|
438 } | 438 } |
439 | 439 |
440 | 440 |
441 /******************************************** | 441 /******************************************** |
442 * Produce array of values from aa. | 442 * Produce array of values from aa. |
443 * The actual type is painted on the return value by the frontend | |
444 * This means the returned length should be the number of elements | |
443 */ | 445 */ |
444 | 446 |
445 void[] _aaValues(AA aa, size_t keysize, size_t valuesize) | 447 void[] _aaValues(AA aa, size_t keysize, size_t valuesize) |
446 in | 448 in |
447 { | 449 { |
583 } | 585 } |
584 | 586 |
585 | 587 |
586 /******************************************** | 588 /******************************************** |
587 * Produce array of N byte keys from aa. | 589 * Produce array of N byte keys from aa. |
590 * The actual type is painted on the return value by the frontend | |
591 * This means the returned length should be the number of elements | |
588 */ | 592 */ |
589 | 593 |
590 void[] _aaKeys(AA aa, size_t keysize) | 594 void[] _aaKeys(AA aa, size_t keysize) |
591 { | 595 { |
592 byte[] res; | 596 byte[] res; |