mirror of
https://github.com/krahets/hello-algo.git
synced 2024-12-25 01:16:31 +08:00
docs(codes/c): add function description
This commit is contained in:
parent
dceae63f38
commit
81cdf1d530
2 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ struct mylist {
|
|||
};
|
||||
|
||||
typedef struct mylist MyList;
|
||||
/* 声明函数 */
|
||||
/* 前置声明 */
|
||||
void extendCapacity(MyList* l);
|
||||
|
||||
/* 构造函数 */
|
||||
|
|
|
@ -13,7 +13,7 @@ struct LinkedListStack {
|
|||
};
|
||||
|
||||
typedef struct LinkedListStack LinkedListStack;
|
||||
|
||||
/* 构造函数 */
|
||||
void constructor(LinkedListStack* stk) {
|
||||
stk->stackTop = NULL;
|
||||
stk->stkSize = 0;
|
||||
|
|
Loading…
Reference in a new issue