uncrustify source code
This commit is contained in:
parent
ca15f19709
commit
8141a18cab
14 changed files with 1610 additions and 27 deletions
4
Makefile
4
Makefile
|
@ -35,6 +35,10 @@ cppcheck.txt: *.c *.h
|
|||
tags: *.c
|
||||
ctags -R .
|
||||
|
||||
.PHONY: uncrustify
|
||||
uncrustify:
|
||||
uncrustify -c uncrustify.cfg --no-backup *.c
|
||||
|
||||
mandelbrot: mandelbrot.c
|
||||
$(CC) $(CFLAGS) $(shell sdl-config --cflags) -o $@ $< $(shell sdl-config --libs) -lm
|
||||
|
||||
|
|
|
@ -51,7 +51,8 @@ int main(void) {
|
|||
21090, 22277, 22624, 24634, 24877,
|
||||
25367, 25586, 26706, 26720, 26958,
|
||||
27478, 28269, 29142, 30630, 30804,
|
||||
31984, 32398, 32588 };
|
||||
31984, 32398, 32588
|
||||
};
|
||||
assert_sorted(a, 43);
|
||||
|
||||
assert(binsearch(a, 43, 912) == 0);
|
||||
|
|
1578
uncrustify.cfg
Normal file
1578
uncrustify.cfg
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue