csnake/include/input.h

19 lines
242 B
C
Raw Normal View History

2023-10-29 21:31:33 +03:00
#ifndef __INPUT_H__
#define __INPUT_H__
#include <stdbool.h>
typedef struct input_args_t
{
2023-11-24 22:58:33 +03:00
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
2023-11-25 00:11:34 +03:00
#ifdef _WIN32
void input(void *vargp);
#else
2023-11-24 23:32:42 +03:00
void *input(void *vargp);
2023-11-25 00:11:34 +03:00
#endif
2023-10-29 21:31:33 +03:00
#endif /* __INPUT_H__ */