Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita73ce07

Browse files
committed
added comment for struct sdshdr
1 parentffc4836 commita73ce07

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎src/sds.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ struct sdshdr {
4949
intfree;
5050

5151
// 实际保存字符串数据的地方
52+
// 利用c99(C99 specification 6.7.2.1.16)中引入的 flexible array member,通过buf来引用sdshdr后面的地址,
53+
// 详情google "flexible array member"
5254
charbuf[];
5355
};
5456

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp