6 lanimator_cb (void *DATA
)
8 luaobj_Object
*obj
= (luaobj_Object
*) DATA
;
9 luaobj_Ref
*ref3
= (luaobj_Ref
*) obj
->datc
; // function
10 luaobj_Ref
*ref2
= (luaobj_Ref
*) obj
->datb
; // userdata
11 lua_State
*L
= obj
->L
;
12 luaobj_get_ref (L
, ref3
);
13 luaobj_get_ref (L
, ref2
);
15 if (lua_pcall (L
, 1, 1, 0))
16 printf ("lanimator_cb: %s\n", luaL_checkstring (L
, -1));
17 int res
= (int) lua_toboolean (L
, -1);
25 lanimator_fn_del (lua_State
* L
)
29 luaobj_Object
*obj
= (luaobj_Object
*) lua_touserdata (L
, 1);
30 ecore_animator_del (obj
->data
);
34 const luaL_Reg lAnimator_nil
[] = {
35 {NULL
, NULL
} // sentinel
38 const luaL_Reg lAnimator_fn
[] = {
39 {"del", lanimator_fn_del
},
40 {NULL
, NULL
} // sentinel
43 const luaobj_Reg mAnimator
= {
50 const luaobj_Reg
*cAnimator
[] = {