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


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

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