Skip to content

Conversation

ghost
Copy link

@ghost ghost commented Feb 7, 2012

This pull fixes the issue 4778: 'Interfacing to C' says 'There are no const or volatile type modifiers in D'. The modified paragraph is the following:

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.

I removed the const part because const is indeed part of D.

I left the mention to volatile, because there's no point indicating in this document that it's a deprecated feature. But if it must be marked as a deprecated type, I can make another commit amending that.

WalterBright added a commit that referenced this pull request Feb 15, 2012
Remove wrong reference to const from the 'Interface to C' page
@WalterBright WalterBright merged commit cb5eca7 into dlang:master Feb 15, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant