Browse Source

make test and c color formatting in README

master
parent
commit
13705cd698
  1. 2
      Makefile
  2. 2
      README.md

2
Makefile

@ -5,4 +5,4 @@ clean:
rm -f test cvec.o cvec.a rm -f test cvec.o cvec.a
test: clean lib test: clean lib
gcc -Wall -Werror -O2 testing/test.c cvec.a -o test gcc -Wall -Werror -O2 -static testing/test.c cvec.a -o test && ./test

2
README.md

@ -9,7 +9,7 @@ The overall usage should be done via shipped cvec_* functions, but in case of th
This snippet should give you the general idea of usage. This snippet should give you the general idea of usage.
``` ```c
cvec vec = cvec_new(sizeof(size_t), 1); cvec vec = cvec_new(sizeof(size_t), 1);
size_t val = 0x15dc; size_t val = 0x15dc;
cvec_put(&vec, &val); cvec_put(&vec, &val);

Loading…
Cancel
Save