mirror of
https://github.com/neovim/neovim.git
synced 2025-01-01 17:23:36 -07:00
17 lines
316 B
C
17 lines
316 B
C
|
#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];
|
||
|
}
|