f5afcfc5bdb70e9013bab7c5569abd66b2824488
[luaevent.git] / include / utility.h
blobf5afcfc5bdb70e9013bab7c5569abd66b2824488
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
6 #include <lua.h>
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);
12 void le_register_utility(lua_State* L);
13 #endif