dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
familia.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed storage dump display. Changed some variables and function names to more obvious...
[familia.git]
/
src
/
memory_stack.c
diff --git
a/src/memory_stack.c
b/src/memory_stack.c
index 9e32862c85c9799d36db0fc249f95770fc4937b7..61493150e1df4a39f0e205c94e5a489d74bfc9dd 100644
(file)
--- a/
src/memory_stack.c
+++ b/
src/memory_stack.c
@@
-42,6
+42,8
@@
void familia_memory_stack_init()
assert(memory_stack == NULL);
memory_stack = (struct familia_memory_stack*)malloc(sizeof(struct familia_memory_stack));
assert(memory_stack == NULL);
memory_stack = (struct familia_memory_stack*)malloc(sizeof(struct familia_memory_stack));
+ memory_stack->objects = NULL;
+ memory_stack->objects_no = 0;
assert(storage != NULL);
}
assert(storage != NULL);
}