| 1 | /* LuaEvent - Copyright (C) 2007 Thomas Harning <harningt@gmail.com> |
| 2 | * Licensed as LGPL - See doc/COPYING for details */ |
| 3 | #ifndef UTILITY_H |
| 4 | #define UTILITY_H |
| 5 | |
| 6 | #include <lua.h> |
| 7 | |
| 8 | void le_weak_ref(lua_State* L, void* ptr, int idx); |
| 9 | void le_weak_unref(lua_State* L, void* ptr); |
| 10 | void le_weak_get(lua_State* L, void* ptr); |
| 11 | |
| 12 | void le_register_utility(lua_State* L); |
| 13 | #endif |