generated from freudenreichan/info2Praktikum-DobleSpiel
Datentyp fuer Strukturvariable data auf void geandert
This commit is contained in:
@@ -9,9 +9,10 @@ The latest element is taken from the stack. */
|
||||
|
||||
//TODO: passenden Datentyp als struct anlegen
|
||||
typedef{
|
||||
int* data;
|
||||
void* data;
|
||||
struct StackNode *next;
|
||||
}StackNode;
|
||||
}StackNode;cmd
|
||||
|
||||
|
||||
// Pushes data as pointer onto the stack.
|
||||
StackNode *push(StackNode *stack, void *data);
|
||||
|
||||
Reference in New Issue
Block a user