summaryrefslogtreecommitdiff
path: root/src/libdatastruct/genqdyn_push.c
blob: 07c5384ac8124973adc4b1997eb990bc75b9f074 (plain)
1
2
3
4
5
6
7
8
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) ;
}