diff options
Diffstat (limited to 'src/keeper.h')
-rw-r--r-- | src/keeper.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/keeper.h b/src/keeper.h index d30aa36..33118be 100644 --- a/src/keeper.h +++ b/src/keeper.h | |||
@@ -1,7 +1,13 @@ | |||
1 | #if !defined( __keeper_h__) | 1 | #pragma once |
2 | #define __keeper_h__ 1 | ||
3 | 2 | ||
3 | #ifdef __cplusplus | ||
4 | extern "C" { | ||
5 | #endif // __cplusplus | ||
4 | #include "lua.h" | 6 | #include "lua.h" |
7 | #ifdef __cplusplus | ||
8 | } | ||
9 | #endif // __cplusplus | ||
10 | |||
5 | #include "threading.h" | 11 | #include "threading.h" |
6 | #include "uniquekey.h" | 12 | #include "uniquekey.h" |
7 | 13 | ||
@@ -53,5 +59,3 @@ int keepercall_set( lua_State* L); | |||
53 | int keepercall_count( lua_State* L); | 59 | int keepercall_count( lua_State* L); |
54 | 60 | ||
55 | int keeper_call( Universe* U, lua_State* K, keeper_api_t _func, lua_State* L, void* linda, uint_t starting_index); | 61 | int keeper_call( Universe* U, lua_State* K, keeper_api_t _func, lua_State* L, void* linda, uint_t starting_index); |
56 | |||
57 | #endif // __keeper_h__ \ No newline at end of file | ||