Mercurial > MadButterfly
comparison nodejs/coord.m4 @ 741:d8764f10e141
Remove a coord from the tree in JS
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Wed, 25 Aug 2010 10:40:30 +0800 |
parents | a588eefd3f04 |
children | 4ccb0553e804 |
comparison
equal
deleted
inserted
replaced
740:00a8c8a9e157 | 741:d8764f10e141 |
---|---|
1 define([PROJ_PREFIX], [xnjsmb_auto_])dnl | 1 define([PROJ_PREFIX], [xnjsmb_auto_])dnl |
2 STRUCT([coord], [coord_t], [], | 2 STRUCT([coord], [coord_t], [], |
3 [METHOD([add_shape], [xnjsmb_coord_add_shape], | 3 [METHOD([add_shape], [xnjsmb_coord_add_shape], |
4 (SELF, OBJ([shape], [shape], [shape_t]), ERR), 1, [])], | 4 (SELF, OBJ([shape], [shape], [shape_t]), ERR), 1, []), |
5 METHOD([remove], [xnjsmb_coord_remove], (SELF, ERR), 0, [])], | |
5 ((GET_INDEX, (coord_get_index, NUMBER)), | 6 ((GET_INDEX, (coord_get_index, NUMBER)), |
6 (SET_INDEX, (coord_set_index, NUMBER)), | 7 (SET_INDEX, (coord_set_index, NUMBER)), |
7 ([STMOD], [xnjsmb_coord_mod]))) | 8 ([STMOD], [xnjsmb_coord_mod]))) |