small fix for c++
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user