Mercurial > MadButterfly
comparison nodejs/mbfly_njs.m4 @ 687:da12923a789a
Migrate paints.cc to use gen_v8_binding.m4
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Sat, 07 Aug 2010 21:37:57 +0800 |
parents | 7685c57e29d0 |
children | 86c6ebf1de25 |
comparison
equal
deleted
inserted
replaced
686:ddce24029561 | 687:da12923a789a |
---|---|
15 [OBJ([stext], [shape_t])], | 15 [OBJ([stext], [shape_t])], |
16 (([MOD], [xnjsmb_mb_rt_objs_mod]))), | 16 (([MOD], [xnjsmb_mb_rt_objs_mod]))), |
17 METHOD([image_new], [xnjsmb_image_new], | 17 METHOD([image_new], [xnjsmb_image_new], |
18 (NUMBER(x), NUMBER(y), NUMBER(w), NUMBER(h)), 4, | 18 (NUMBER(x), NUMBER(y), NUMBER(w), NUMBER(h)), 4, |
19 [OBJ([image], [shape_t])], | 19 [OBJ([image], [shape_t])], |
20 (([MOD], [xnjsmb_mb_rt_objs_mod]))), | |
21 METHOD([paint_color_new], [xnjsmb_paint_color_new], | |
22 (NUMBER(r), NUMBER(g), NUMBER(b), NUMBER(a), ERR), 4, | |
23 [OBJ([paint_color], [paint_t])], | |
24 (([MOD], [xnjsmb_mb_rt_objs_mod]))), | |
25 METHOD([paint_image_new], [xnjsmb_paint_image_new], | |
26 (OBJ([img], [img_data], [mb_img_data_t]), ERR), 1, | |
27 [OBJ([paint_image], [paint_t])], | |
20 (([MOD], [xnjsmb_mb_rt_objs_mod])))], | 28 (([MOD], [xnjsmb_mb_rt_objs_mod])))], |
21 ((CTOR, ([_X_njs_MB_new], (SELF, STR(display_name), INT(width), INT(height)), 3)))dnl | 29 ((CTOR, ([_X_njs_MB_new], (SELF, STR(display_name), INT(width), INT(height)), 3)))dnl |
22 ) | 30 ) |