docs(codes/c): add function description

This commit is contained in:
Gonglja 2023-01-14 17:10:04 +08:00
parent dceae63f38
commit 81cdf1d530
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@ struct mylist {
};
typedef struct mylist MyList;
/* 声明函数 */
/* 前置声明 */
void extendCapacity(MyList* l);
/* 构造函数 */

View file

@ -13,7 +13,7 @@ struct LinkedListStack {
};
typedef struct LinkedListStack LinkedListStack;
/* 构造函数 */
void constructor(LinkedListStack* stk) {
stk->stackTop = NULL;
stk->stkSize = 0;