@@ -101,22 +101,22 @@ $(H2 $(LNAME2 preprocessor-directives, Preprocessor Directives))
101
101
102
102
$(P Nevertheless, ImportC supports these preprocessor directives:)
103
103
104
- $(H3 Line control)
104
+ $(H3 $(LNAME2 line-control, Line control) )
105
105
106
106
$(P C11 6.10.4)
107
107
108
- $(H3 Linemarker)
108
+ $(H3 $(LNAME2 linemarker, Linemarker) )
109
109
110
110
$(P $(LINK2 https://gcc.gnu.org/onlinedocs/gcc-11.1.0/cpp/Preprocessor-Output.html, linemarker)
111
111
directives are normally embedded in the output of C preprocessors.)
112
112
113
113
$(H2 $(LNAME2 limitations, Limitations))
114
114
115
- $(H3 Exception Handling)
115
+ $(H3 $(LNAME2 exceptions, Exception Handling) )
116
116
117
117
$(P ImportC is assumed to never throw exceptions. `setjmp` and `longjmp` are not supported.)
118
118
119
- $(H3 Transitive Const)
119
+ $(H3 $(LNAME2 const, Transitive Const) )
120
120
121
121
$(P C11 specifies that `const` only applies locally. `const` in ImportC applies transitively,
122
122
meaning that although $(CCODE int *const p;) means in C11 that p is a const pointer to int,
@@ -140,17 +140,17 @@ $(H2 $(LNAME2 d-side, ImportC from D's Point of View))
140
140
it is very close. What follows is a description of how the D side views
141
141
the C declarations that are imported.)
142
142
143
- $(H3 Module Name)
143
+ $(H3 $(LNAME2 module-name, Module Name) )
144
144
145
145
$(P The module name assigned to the ImportC file is the filename stripped
146
146
of its path and extension. This is just like the default module name assigned
147
147
to a D module that does not have a module declaration.)
148
148
149
- $(H3 `extern (C)`)
149
+ $(H3 $(LNAME2 extern-C, `extern (C)`) )
150
150
151
151
$(P All C symbols are `extern (C)`.)
152
152
153
- $(H3 Enums)
153
+ $(H3 $(LNAME2 enums, Enums) )
154
154
155
155
$(P The C enum:)
156
156
0 commit comments