mouse: make luaA_button_userdata_new static

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-11-17 12:16:51 +01:00
parent 955fcd6a5a
commit ee475580ef
2 changed files with 1 additions and 3 deletions

View File

@ -36,7 +36,7 @@
extern awesome_t globalconf; extern awesome_t globalconf;
DO_LUA_NEW(extern, button_t, button, "button", button_ref) DO_LUA_NEW(static, button_t, button, "button", button_ref)
DO_LUA_GC(button_t, button, "button", button_unref) DO_LUA_GC(button_t, button, "button", button_unref)
DO_LUA_EQ(button_t, button, "button") DO_LUA_EQ(button_t, button, "button")

View File

@ -49,8 +49,6 @@ ARRAY_FUNCS(button_t *, button, button_unref)
int luaA_client_mouse_resize(lua_State *); int luaA_client_mouse_resize(lua_State *);
int luaA_button_userdata_new(lua_State *, button_t *);
int luaA_button_array_get(lua_State *, button_array_t *); int luaA_button_array_get(lua_State *, button_array_t *);
void luaA_button_array_set(lua_State *, int idx, button_array_t *); void luaA_button_array_set(lua_State *, int idx, button_array_t *);