Skip to content

Commit 27a7e23

Browse files
authored
Merge pull request dlang#3582 from WalterBright/importcDotH
add reference to importc.h source file
2 parents 1b29a94 + 9c17637 commit 27a7e23

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

spec/importc.dd

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,11 @@ $(CCODE
245245
#if __IMPORTC__
246246
)
247247

248-
$(P $(TT __IMPORTC__) is defined in $(TT src/importc.h) which is automatically
249-
included when the preprocessor is run.)
248+
$(P $(TT __IMPORTC__) is defined in
249+
$(LINK2 https://github.com/dlang/dmd/blob/master/druntime/src/importc.h, $(TT src/importc.h))
250+
which is automatically
251+
included when the preprocessor is run. $(TT importc.h) contains many macro
252+
definitions that are used to adapt various C source code vagaries to ImportC.)
250253

251254
$(H2 $(LNAME2 preprocessor-directives, Preprocessor Directives))
252255

0 commit comments

Comments
 (0)