From 255a49ba5a41b3854dbdfebdec75fb6229450507 Mon Sep 17 00:00:00 2001 From: Galin Simeonov Date: Mon, 31 May 2021 22:02:10 +0300 Subject: added cmake file --- stack.h | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 stack.h (limited to 'stack.h') diff --git a/stack.h b/stack.h deleted file mode 100644 index 14e557a..0000000 --- a/stack.h +++ /dev/null @@ -1,22 +0,0 @@ -#ifndef GSTACK_H -#define GSTACK_H GSTACK_H -#include -typedef struct Stack Stack; - -struct Stack_Node -{ - struct Stack_Node *next; - void *data; -}; -struct Stack -{ - struct Stack_Node *first; - size_t size; -}; - -void Stack_Init(Stack *stack); -void Stack_Push(Stack *stack,void* data); -void* Stack_Pop(Stack *stack); - - -#endif -- cgit v1.2.3