Skip to content

Commit

Permalink
Merge pull request #77 from YaoGomez/fix-interfacetoc-docs
Browse files Browse the repository at this point in the history
Remove wrong reference to const from the 'Interface to C' page
  • Loading branch information
WalterBright committed Feb 15, 2012
2 parents 7be2c10 + 8d4d01b commit cb5eca7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions interfaceToC.dd
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,8 @@ int myDfunction(char[] s) {
$(LINK2 $(WEBURL)attribute.html#linkage, linkage attributes),
such as $(D extern (C)).)

$(LI 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.)
$(LI There is no volatile type modifier in D. To declare a C function that uses
volatile, just drop the keyword from the declaration.)

$(LI Strings are not 0 terminated in D. See "Data Type Compatibility"
for more information about this. However, string literals in D are
Expand Down

0 comments on commit cb5eca7

Please sign in to comment.