This commit is contained in:
krahets
2023-04-22 01:35:51 +08:00
parent 263c979237
commit 881ece517f
9 changed files with 87 additions and 67 deletions

View File

@@ -1328,6 +1328,8 @@ comments: true
int extendRatio; // 列表每次扩容的倍数
};
typedef struct myList myList;
/* 构造函数 */
myList *newMyList() {
myList *list = malloc(sizeof(myList));