Skip to content

Commit 5834d10

Browse files
authored
Merge pull request #3069 from WalterBright/ImportBetterC
explain difference between ImportC and BetterC
2 parents 7eda566 + 2269010 commit 5834d10

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

spec/betterc.dd

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ Hello betterC
6363
be tricky, hence removing D's GC from the equation may be worthwhile sometimes.)
6464
)
6565

66+
$(P BetterC and $(LINK2 https://dlang.org/spec/importc.html) are very different.
67+
ImportC is an actual C compiler. BetterC is a subset of D that relies only on the
68+
existence of the C Standard library.)
69+
6670

6771
$(H2 $(LNAME2 retained, Retained Features))
6872

spec/importc.dd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ $(HEADERNAV_TOC)
1818
It describes the specifics of the dialect of C that
1919
ImportC is, and how to use it effectively.)
2020

21+
$(P ImportC and $(LINK2 https://dlang.org/spec/betterc.html) are very different.
22+
ImportC is an actual C compiler. BetterC is a subset of D that relies only on the
23+
existence of the C Standard library.)
2124

2225
$(H2 $(LNAME2 dialect, ImportC Dialect))
2326

0 commit comments

Comments
 (0)