Mercurial > MadButterfly
comparison nodejs/coord.m4 @ 1372:0afd598a0b30
Add clone_from_subtree() for coord object of nodejs
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Mon, 07 Mar 2011 09:38:09 +0800 |
parents | 2bcacd29d95f |
children | f02b39079ab0 |
comparison
equal
deleted
inserted
replaced
1371:36cbe73813a8 | 1372:0afd598a0b30 |
---|---|
6 ACCESSOR([y], [xnjsmb_coord_get_y],[xnjsmb_coord_set_y]), | 6 ACCESSOR([y], [xnjsmb_coord_get_y],[xnjsmb_coord_set_y]), |
7 ], | 7 ], |
8 [METHOD([add_shape], [xnjsmb_coord_add_shape], | 8 [METHOD([add_shape], [xnjsmb_coord_add_shape], |
9 (SELF, OBJ([shape], [shape], [shape_t]), ERR), 1, []), | 9 (SELF, OBJ([shape], [shape], [shape_t]), ERR), 1, []), |
10 METHOD([remove], [xnjsmb_coord_remove], (SELF), 0, []), | 10 METHOD([remove], [xnjsmb_coord_remove], (SELF), 0, []), |
11 METHOD([clone_from_subtree], [xnjsmb_coord_clone_from_subtree], | |
12 (SELF, OBJ([src], [coord], [coord_t]), ERR), 1, | |
13 [OBJ([coord], [coord_t])]), | |
11 METHOD([show], [xnjsmb_coord_show], (SELF), 0, []), | 14 METHOD([show], [xnjsmb_coord_show], (SELF), 0, []), |
12 METHOD([hide], [xnjsmb_coord_hide], (SELF), 0, [])], | 15 METHOD([hide], [xnjsmb_coord_hide], (SELF), 0, [])], |
13 ((GET_INDEX, (coord_get_index, NUMBER)), | 16 ((GET_INDEX, (coord_get_index, NUMBER)), |
14 (SET_INDEX, (coord_set_index, NUMBER)), | 17 (SET_INDEX, (coord_set_index, NUMBER)), |
15 ([STMOD], [xnjsmb_coord_mod]))) | 18 ([STMOD], [xnjsmb_coord_mod]))) |