We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffc4836 commit a73ce07Copy full SHA for a73ce07
src/sds.h
@@ -49,6 +49,8 @@ struct sdshdr {
49
int free;
50
51
// 实际保存字符串数据的地方
52
+ // 利用c99(C99 specification 6.7.2.1.16)中引入的 flexible array member,通过buf来引用sdshdr后面的地址,
53
+ // 详情google "flexible array member"
54
char buf[];
55
};
56
0 commit comments