aboutsummaryrefslogtreecommitdiffstats
path: root/include/utility.h
blob: f5afcfc5bdb70e9013bab7c5569abd66b2824488 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* LuaEvent - Copyright (C) 2007 Thomas Harning <harningt@gmail.com>
 * Licensed as LGPL - See doc/COPYING for details */
#ifndef UTILITY_H
#define UTILITY_H

#include <lua.h>

void le_weak_ref(lua_State* L, void* ptr, int idx);
void le_weak_unref(lua_State* L, void* ptr);
void le_weak_get(lua_State* L, void* ptr);

void le_register_utility(lua_State* L);
#endif