summaryrefslogtreecommitdiff
path: root/documentation
diff options
context:
space:
mode:
author[email protected] <[email protected]>2011-12-05 15:53:30 +0000
committer[email protected] <[email protected]>2011-12-05 15:53:30 +0000
commit6833577782454175b1f8e519c13678208b5ae339 (patch)
tree1e10ad3a06190e63d915a0febb7367f54ea298c0 /documentation
parent75b78f85e423a87f616c2181d5e16bcb69ea46f2 (diff)
documentation/coding_style_cn.txt change property and some format
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1827 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'documentation')
-rw-r--r--documentation/coding_style_cn.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/documentation/coding_style_cn.txt b/documentation/coding_style_cn.txt
index 256f691b15..ed0abe942a 100644
--- a/documentation/coding_style_cn.txt
+++ b/documentation/coding_style_cn.txt
@@ -36,7 +36,7 @@ C语言头文件为了避免多次重复包含,需要定义一个符号。这�
4.文件头注释
-在每个源文件文件头上,应该包括相应的版权信息,CHANGELOG 记录:
+在每个源文件文件头上,应该包括相应的版权信息,Change Log 记录:
/*
* File : rtthread.h
@@ -151,7 +151,7 @@ case 语句与前面的 switch 语句对齐,后续的语句则采用缩进的�
/* others */
}
-建议在括号前留出一个空格(涉及的包括if、for、while、swtich语句),而运算表达式
+建议在括号前留出一个空格(涉及的包括 if、for、while、swtich 语句),而运算表达式
中,运算符与字符串间留一个空格。另外,不要在括号的表达式两侧留空格,例如:
if ( x <= y )
@@ -194,7 +194,7 @@ RT-Thread 内核采用了 C 语言对象化技术,命名表现形式是:对�
};
typedef struct rt_timer* rt_timer_t;
-结构体定义rt_timer代表了timer对象的类定义;
+结构体定义 rt_timer 代表了 timer 对象的类定义;
rt_timer_t rt_timer_create(const char* name,
void (*timeout)(void* parameter), void* parameter,