Mercurial > MadButterfly
changeset 1450:6644ef3d75eb
Add get_child method for coord in JS
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Wed, 13 Apr 2011 14:36:32 +0800 |
parents | ef3908d9a3d2 |
children | 5d89aa30310c |
files | nodejs/coord.m4 |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/nodejs/coord.m4 Tue Apr 12 14:50:10 2011 +0800 +++ b/nodejs/coord.m4 Wed Apr 13 14:36:32 2011 +0800 @@ -13,7 +13,9 @@ [OBJ([coord], [coord_t])], (([MOD], [_xnjsmb_coord_clone_from_subtree_mod]))), METHOD([show], [xnjsmb_coord_show], (SELF), 0, []), - METHOD([hide], [xnjsmb_coord_hide], (SELF), 0, [])], + METHOD([hide], [xnjsmb_coord_hide], (SELF), 0, []), + METHOD([get_child], [xnjsmb_coord_get_child], + (SELF, INT(idx), ERR), 1, [VAL])], ((GET_INDEX, (coord_get_index, NUMBER)), (SET_INDEX, (coord_set_index, NUMBER)), ([STMOD], [xnjsmb_coord_mod])))