aboutsummaryrefslogtreecommitdiff
path: root/examples/simple.c
blob: aa9c656fffb44b5e75c4307e63d8fdf35aa042da (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "ls_vec.h"

LS_VEC_INLINE(int, int_vec)

int main(void) {
    int v;
    int_vec vec;
    int_vec_init(&vec);
    int_vec_push(&vec, 12);
    int_vec_pop(&vec, &v);
    int_vec_free(&vec);
    return 0;
}