aboutsummaryrefslogtreecommitdiff
path: root/test/unit/fixtures/multiqueue.c
blob: 2003bc7a5ada30106b066de7fb0b9f1697041d7f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <stdlib.h>
#include <string.h>

#include "multiqueue.h"

#include "nvim/event/multiqueue.h"

void ut_multiqueue_put(MultiQueue *self, const char *str)
{
  multiqueue_put(self, NULL, (void *)str);
}

const char *ut_multiqueue_get(MultiQueue *self)
{
  Event event = multiqueue_get(self);
  return event.argv[0];
}