csnake/include/input.h

17 lines
223 B
C
Raw Permalink Normal View History

2023-10-29 21:31:33 +03:00
#ifndef __INPUT_H__
#define __INPUT_H__
#include <stdbool.h>
#include "platform/thread.h"
2023-10-29 21:31:33 +03:00
typedef struct input_args_t
{
int *out;
2023-10-29 21:31:33 +03:00
bool *alive;
2023-10-29 22:35:37 +03:00
} InputArgs;
2023-10-29 21:31:33 +03:00
ThreadR input(void *vargp);
2023-10-29 21:31:33 +03:00
#endif /* __INPUT_H__ */