This repository has been archived on 2024-04-08 . You can view files and clone it, but cannot push or open issues or pull requests.
Dan Cross
540e359080
Cleanups and pointer vectors.
A repeated pattern in Magicka is to append to dynamically sized arrays via malloc()/realloc(). Introduce the notion of a "pointer vector": that is, a growable vector of pointers, that can be reused to implement that logic more safely and efficiently (this implementation uses power-of-two growing). Many malloc()/realloc() calls were not checked; these assert() that the return value from realloc() is not NULL. Add a method to consume the pointer vector: that is, realloc() it to the current length and return the underlying pointers. Make the `fmt` argument to dolog() const. Include <sys/wait.h> in bluewave.c to squash a warning. Signed-off-by: Dan Cross <patchdev@fat-dragon.org>
MagickaBBS
A Bulletin Board System for UN*X like platforms.
For documentation, see http://docs.magickabbs.com/
Description
Languages
C
97.9%
Perl
0.9%
Makefile
0.8%
Roff
0.2%
Shell
0.1%
Other
0.1%