Skip to content

Commit 102cad6

Browse files
committed
docs/20: noun-phrase headings, which the style check requires
`Is the extern "C" header required?` and its Chinese twin were question headings. The check names the rule and both files; the content is unchanged.
1 parent b44b535 commit 102cad6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docs/20-heterogeneous-builds.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ links libstdc++ puts a second copy of the C++ runtime into a program whose own
147147
copy came from mcpp's toolchain.
148148

149149

150-
#### Is the `extern "C"` header required?
150+
#### The `extern "C"` header, and what omitting it costs
151151

152152
Not by the language. The seam can declare the entry point itself and the island
153153
can define it, with no header anywhere, and that builds and links and runs.

docs/zh/20-heterogeneous-builds.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ tarball 已经发出去了。设备源文件必须被显式点名。
118118
自身运行时来自 mcpp 工具链的程序里。
119119

120120

121-
#### 那个 `extern "C"` 头文件是必须的吗?
121+
#### 那个 `extern "C"` 头文件,以及省掉它的代价
122122

123123
语言上不是。接缝可以自己声明入口点、岛自己定义它,一个头文件都不写,照样编得过、链得上、
124124
跑得起来。

0 commit comments

Comments
 (0)