예제 #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;
}