mirror of
https://github.com/neovim/neovim.git
synced 2025-09-20 02:08:17 +00:00

It's probably not worth adding the C test files to regular formatting as they're pretty much never touched, but ensuring the files are formatted according to our standards and getting rid of warnings is a cheap one-time fix.
18 lines
322 B
C
18 lines
322 B
C
#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];
|
|
}
|