提交 533cfb46 编写于 作者: M Martin Kletzander

Sync HACKING and hacking.html.in

After one last-minute change, only HACKING was updated and not
hacking.html.in, so this patch synchronizes that.
上级 4a824cdb
......@@ -241,7 +241,7 @@
<p>
The keywords <code>if</code>, <code>for</code>, <code>while</code>,
and <code>switch</code> must have a single space following them
before the opening bracket. e.g.
before the opening bracket. E.g.
</p>
<pre>
if(foo) // Bad
......@@ -250,7 +250,7 @@
<p>
Function implementations must <strong>not</strong> have any whitespace
between the function name and the opening bracket. e.g.
between the function name and the opening bracket. E.g.
</p>
<pre>
int foo (int wizz) // Bad
......@@ -259,7 +259,7 @@
<p>
Function calls must <strong>not</strong> have any whitespace
between the function name and the opening bracket. e.g.
between the function name and the opening bracket. E.g.
</p>
<pre>
bar = foo (wizz); // Bad
......@@ -269,7 +269,7 @@
<p>
Function typedefs must <strong>not</strong> have any whitespace
between the closing bracket of the function name and opening
bracket of the arg list. e.g.
bracket of the arg list. E.g.
</p>
<pre>
typedef int (*foo) (int wizz); // Bad
......@@ -278,7 +278,7 @@
<p>
There must not be any whitespace immediately following any
opening bracket, or immediately prior to any closing bracket. e.g.
opening bracket, or immediately prior to any closing bracket. E.g.
</p>
<pre>
int foo( int wizz ); // Bad
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册