| changeset 1952 | b7aa2b626807 |
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/sourcepawn/compiler/getch.h Sun Mar 30 07:00:22 2008 +0000 1.3 @@ -0,0 +1,15 @@ 1.4 +/* Extremely inefficient but portable POSIX getch(), see getch.c */ 1.5 +#ifndef GETCH_H 1.6 +#define GETCH_H 1.7 + 1.8 +#if defined __cplusplus 1.9 + extern "C" { 1.10 +#endif 1.11 +int getch(void); 1.12 +int kbhit(void); 1.13 + 1.14 +#if defined __cplusplus 1.15 +} 1.16 +#endif 1.17 + 1.18 +#endif /* GETCH_H */