diff options
Diffstat (limited to 'src/libdatastruct/genqdyn_push.c')
-rw-r--r-- | src/libdatastruct/genqdyn_push.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libdatastruct/genqdyn_push.c b/src/libdatastruct/genqdyn_push.c new file mode 100644 index 0000000..07c5384 --- /dev/null +++ b/src/libdatastruct/genqdyn_push.c @@ -0,0 +1,9 @@ +/* ISC license. */ + +#include <skalibs/stralloc.h> +#include <skalibs/genqdyn.h> + +int genqdyn_push (genqdyn *g, void const *p) +{ + return stralloc_catb(&g->queue, (char const *)p, g->esize) ; +} |