diff options
Diffstat (limited to 'src/cancel.h')
-rw-r--r-- | src/cancel.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/cancel.h b/src/cancel.h index c7c5433..bd6a1d0 100644 --- a/src/cancel.h +++ b/src/cancel.h | |||
@@ -1,9 +1,14 @@ | |||
1 | #if !defined( __LANES_CANCEL_H__) | 1 | #pragma once |
2 | #define __LANES_CANCEL_H__ 1 | ||
3 | 2 | ||
3 | #ifdef __cplusplus | ||
4 | extern "C" { | ||
5 | #endif // __cplusplus | ||
4 | #include "lua.h" | 6 | #include "lua.h" |
5 | #include "lualib.h" | 7 | #include "lualib.h" |
6 | #include "lauxlib.h" | 8 | #include "lauxlib.h" |
9 | #ifdef __cplusplus | ||
10 | } | ||
11 | #endif // __cplusplus | ||
7 | 12 | ||
8 | #include "uniquekey.h" | 13 | #include "uniquekey.h" |
9 | #include "macros_and_utils.h" | 14 | #include "macros_and_utils.h" |
@@ -62,5 +67,3 @@ LUAG_FUNC( cancel_test); | |||
62 | LUAG_FUNC( thread_cancel); | 67 | LUAG_FUNC( thread_cancel); |
63 | 68 | ||
64 | // ################################################################################################ | 69 | // ################################################################################################ |
65 | |||
66 | #endif // __LANES_CANCEL_H__ | ||