summaryrefslogtreecommitdiffstats
path: root/apps/plugins/lua/lua_user.h
blob: f18f5e9d149a2fa59d5b4a3b5366ef1428fbc37d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef _LUA_USER_H_
#define _LUA_USER_H_

#define LUA_OOM(L) set_lua_OOM(L)

struct lua_OOM {
    lua_State * L;
    int         count;
};

int set_lua_OOM(lua_State * L);

struct lua_OOM* get_lua_OOM(void);
#endif