fixed X11_softare_info changing
[ego.git] / src / lib / polygon.c
blob0e9f99c67f82b2a062d530c4a64b3247030d34ff
1 #include "polygon.h"
2 #include "luaobj.h"
3 #include "class.h"
4 #include "object.h"
5 #include "macro.h"
7 FN_2INTEGER (lpolygon_fn_point_add, evas_object_polygon_point_add);
8 FN (lpolygon_fn_points_clear, evas_object_polygon_points_clear);
10 const struct luaL_Reg lPolygon_fn[] = {
11 {"point_add", lpolygon_fn_point_add},
12 {"points_clear", lpolygon_fn_points_clear},
13 {NULL, NULL} // sentinel
16 const luaL_Reg lPolygon_nil [] = {
17 {NULL, NULL}
20 const luaobj_Reg mPolygon = {
21 lPolygon_nil, // mt
22 lPolygon_nil, // get
23 lPolygon_nil, // set
24 lPolygon_fn // fn
27 const luaobj_Reg *cPolygon[] = {
28 &mClass,
29 &mObject,
30 &mPolygon,
31 NULL // sentinel