示例#1
0
文件: button.c 项目: raedwulf/awesome
/** Create a new mouse button bindings.
 * \param L The Lua VM state.
 * \return The number of elements pushed on stack.
 */
static int
luaA_button_new(lua_State *L)
{
    return luaA_class_new(L, &button_class);
}
示例#2
0
文件: key.c 项目: Asido/AwesomeWM
/** Create a new key object.
 * \param L The Lua VM state.
 * \return The number of elements pushed on stack.
 */
static int
luaA_key_new(lua_State *L)
{
    return luaA_class_new(L, &key_class);
}
示例#3
0
文件: timer.c 项目: GinoM/awesome
static int
luaA_timer_new(lua_State *L)
{
    luaA_class_new(L, &timer_class);
    return 1;
}