blob: 65c7ce56992af8972d54e6be338a96d7ce1a3fba (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
push
static
if space l[size++] = d
dynamic || naive
if !space realloc
if space l[size++] = d
push_i
static
no sneed
dynamic || naive
if !space realloc move
l[i] = d, size++
pop
static
l[size--] = {0}
dynamic || naive
l[size--] = {0}
if space < limit realloc
|