Interfacing to C: const or immutable?
Mathias Laurenz Baumann
anonym001 at supradigital.org
Thu Aug 26 15:06:24 PDT 2010
http://www.digitalmars.com/d/2.0/interfaceToC.html still says there is no
const/immutable in D:
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.
but that is obviously out-dated. What should I use now, when interfacing
with C?
--Marenz
More information about the Digitalmars-d
mailing list