formatting source-code for b388e4a309

This commit is contained in:
github-actions
2020-05-29 20:23:24 +00:00
parent b388e4a309
commit 0779a2b70d
260 changed files with 7566 additions and 6554 deletions

View File

@@ -2,10 +2,9 @@
author: Christian Bender
This header represents the public stack-interface.
The stack is generic and self growing.
The stack is generic and self growing.
*/
#ifndef __STACK__
#define __STACK__
@@ -15,15 +14,15 @@
void initStack();
/*
push: pushs the argument onto the stack
push: pushs the argument onto the stack
*/
void push(void * object);
void push(void *object);
/*
pop: pops the top element of the stack from the stack.
assumes: stack not empty.
*/
void * pop();
void *pop();
/*
size: gets the number of elements of the stack.
@@ -38,6 +37,6 @@ int isEmpty();
/*
top: returns the top element from the stack without removing it.
*/
void * top();
void *top();
#endif