diff options
| author | Tyge Løvset <[email protected]> | 2021-09-23 08:13:46 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2021-09-23 08:13:46 +0200 |
| commit | 7b5ad58d20dcf3561662a294183fceab0d0ee73c (patch) | |
| tree | 6a3dec1ac0f65a886c1287c1468bb1bf705d92f0 /tests/test_new_list.c | |
| parent | 6b0cee466ec405a8b8051da56fc63ed3e2930846 (diff) | |
| download | STC-modified-7b5ad58d20dcf3561662a294183fceab0d0ee73c.tar.gz STC-modified-7b5ad58d20dcf3561662a294183fceab0d0ee73c.zip | |
Some more documentation in README.md.
Added support for i_del template arg/define for destroy function. For maps, i_keydel / i_valdel is still required and error is given if i_del is defined.
Diffstat (limited to 'tests/test_new_list.c')
| -rw-r--r-- | tests/test_new_list.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/test_new_list.c b/tests/test_new_list.c index f0983b76..a38936b0 100644 --- a/tests/test_new_list.c +++ b/tests/test_new_list.c @@ -1,5 +1,5 @@ -#include "cstr.h" -#include "forward.h" +#include <stc/cstr.h> +#include <stc/forward.h> forward_clist(i32, int); forward_clist(pnt, struct Point); @@ -12,7 +12,7 @@ struct MyStruct { #define F_tag i32 #define i_val int -#include "clist.h" +#include <stc/clist.h> struct Point { int x, y; } typedef Point; int point_compare(const Point* a, const Point* b) { @@ -22,13 +22,13 @@ int point_compare(const Point* a, const Point* b) { #define F_tag pnt #define i_val Point #define i_cmp point_compare -#include "clist.h" +#include <stc/clist.h> #define i_val float -#include "clist.h" +#include <stc/clist.h> #define i_val_str -#include "clist.h" +#include <stc/clist.h> int main() |
