Mercurial > projects > mde
diff mde/Options.d @ 62:960206198cbd
Documentation changes only. (Idea for new gui.content.Items module; unused gl.texture module commented out.)
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Fri, 27 Jun 2008 17:19:46 +0100 |
parents | f000d6cd0f74 |
children |
line wrap: on
line diff
--- a/mde/Options.d Wed Jun 25 17:25:48 2008 +0100 +++ b/mde/Options.d Fri Jun 27 17:19:46 2008 +0100 @@ -299,7 +299,7 @@ }+/ /** mixin impl("type symbol[, symbol[...]];[type symbol[...];][...]") * - * E.g. + * Where type is one of bool, int, double, char[]. E.g. * --- * mixin (impl ("bool a, b; int i;")); * --- @@ -316,7 +316,7 @@ * necessary. * * Extending: mixins could also be used for the static this() {...} or even the whole - * class, but doing would rather decrease readability of any implementation. */ + * class, but doing so would rather decrease readability of any implementation. */ template impl(char[] A /+, char[] symb+/) { const char[] impl = A~"\nthis(){\n"~aaDefs!(A)~"}"; // ~"\nstatic this(){\n"~optClassAdd!(symb)~"}"