add data stack

This commit is contained in:
lyon1998 2021-10-16 18:48:03 +08:00
parent dfe3cecc0d
commit 46bf755673
2 changed files with 31 additions and 0 deletions

15
src/dataStack.c Normal file
View File

@ -0,0 +1,15 @@
#include "dataQueue.h"
#include "dataStack.h"
Stack* New_Stack(){
}
int32_t stack_deinit(Stack* stack){
}
int32_t stack_pushStr(Stack* stack, char* str){
}
char* stack_popStr(Stack* queue, char* buff){
}

16
src/dataStack.h Normal file
View File

@ -0,0 +1,16 @@
/*
Author: lyon
Tencent QQ: 645275593
*/
#ifndef __DATA_STACK__H
#define __DATA_STACK__H
#include "dataArgs.h"
typedef Args Stack;
Stack* New_Stack();
int32_t stack_deinit(Stack* stack);
int32_t stack_pushStr(Stack* stack, char* str);
char* stack_popStr(Stack* queue, char* buff);
#endif