This page http://www.d-programming-language.org/interfaceToC.html states: "There are no const or volatile type modifiers in D. To declare a C function that uses those type modifiers, just drop those keywords from the declaration." Is this still true in D 2.0? There's a whole section in the Language Reference about the "const" keyword and the compiler seems to accept it when creating C bindings.
pull https://github.com/D-Programming-Language/d-programming-language.org/pull/77 This removes the mention to const, but I left volatile, as it's deprecated and I see no point of mentioning that. Of course this can be changed.
Patch merged: https://github.com/D-Programming-Language/d-programming-language.org/commit/cb5eca74d7ac212d87e261c9a9235feca5e85533 Closing this puppy.