diff options
| author | Lion Kortlepel <[email protected]> | 2026-01-15 00:28:30 +0100 |
|---|---|---|
| committer | Lion Kortlepel <[email protected]> | 2026-01-15 00:28:30 +0100 |
| commit | 0b6d6b70f171b18cad86c0ac8d79a2c849175324 (patch) | |
| tree | 33fa0f9291aa4c6b99b53fb437ef2af6164ea190 /examples | |
| download | vec-0b6d6b70f171b18cad86c0ac8d79a2c849175324.tar.zst vec-0b6d6b70f171b18cad86c0ac8d79a2c849175324.zip | |
initial commit
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/simple.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/simple.c b/examples/simple.c new file mode 100644 index 0000000..74a8750 --- /dev/null +++ b/examples/simple.c @@ -0,0 +1,11 @@ +#include "ls_vec.h" + +LS_VEC_INLINE(int, int_vec) + +int main(void) { + int_vec vec; + int_vec_init(&vec); + int_vec_push(&vec, 12); + int_vec_clear(&vec); + return 0; +} |
