mouse: make luaA_button_userdata_new static
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
955fcd6a5a
commit
ee475580ef
2
mouse.c
2
mouse.c
|
@ -36,7 +36,7 @@
|
|||
|
||||
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_EQ(button_t, button, "button")
|
||||
|
||||
|
|
2
mouse.h
2
mouse.h
|
@ -49,8 +49,6 @@ ARRAY_FUNCS(button_t *, button, button_unref)
|
|||
|
||||
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 *);
|
||||
void luaA_button_array_set(lua_State *, int idx, button_array_t *);
|
||||
|
||||
|
|
Loading…
Reference in New Issue