2016-09-29 08:09:37 -07:00
|
|
|
#include <string.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include "nvim/event/multiqueue.h"
|
|
|
|
#include "multiqueue.h"
|
|
|
|
|
|
|
|
|
2023-04-06 13:39:50 -07:00
|
|
|
void ut_multiqueue_put(MultiQueue *self, const char *str)
|
2016-09-29 08:09:37 -07:00
|
|
|
{
|
2023-12-01 00:22:22 -07:00
|
|
|
multiqueue_put(self, NULL, (void *)str);
|
2016-09-29 08:09:37 -07:00
|
|
|
}
|
|
|
|
|
2023-04-06 13:39:50 -07:00
|
|
|
const char *ut_multiqueue_get(MultiQueue *self)
|
2016-09-29 08:09:37 -07:00
|
|
|
{
|
2023-04-06 13:39:50 -07:00
|
|
|
Event event = multiqueue_get(self);
|
2016-09-29 08:09:37 -07:00
|
|
|
return event.argv[0];
|
|
|
|
}
|