Skip to content
Permalink
Browse files

Adjust example.

  • Loading branch information...
sobomax committed Apr 2, 2019
1 parent 99e47f2 commit cdb51f61bbd321bc45e69ffbb814041e41a9907d
Showing with 1 addition and 1 deletion.
  1. +1 −1 klib/kvec.h
@@ -30,7 +30,7 @@
int main() {
kvec_t(int) array;
kv_init(array);
kv_push(int, array, 10, e0); // append
kv_push_safe(int, array, 10, e0); // append
kv_a(int, array, 20) = 5; // dynamic
kv_A(array, 20) = 4; // static
kv_destroy(array);

0 comments on commit cdb51f6

Please sign in to comment.
You can’t perform that action at this time.