blob: 66d8d7eee5471d1108782f91895b7bee16f494a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#if !defined( __keeper_h__)
#define __keeper_h__ 1
struct s_Keeper
{
MUTEX_T lock_;
lua_State *L;
//int count;
};
const char *init_keepers(void);
struct s_Keeper *keeper_acquire( const void *ptr);
void keeper_release( struct s_Keeper *K);
int keeper_call( lua_State *K, char const *func_name, lua_State *L, void *linda, uint_t starting_index);
void close_keepers(void);
#endif // __keeper_h__
|