small fix for c++

This commit is contained in:
2023-09-16 19:27:30 +08:00
parent 0f6775c9bf
commit f44aaa81b2

View File

@@ -1,5 +1,9 @@
#pragma once #pragma once
#ifdef __cplusplus
extern "C" {
#endif
int int
keycode(); keycode();
@@ -50,3 +54,7 @@ test_keycodes();
#define KEY_PGUP 1020 #define KEY_PGUP 1020
#define KEY_PGDN 1021 #define KEY_PGDN 1021
#ifdef __cplusplus
}
#endif