comparison nodejs/coord.m4 @ 749:ed59e659a202

Implement binding for hide/show for shapes and coords
author Thinker K.F. Li <thinker@codemud.net>
date Wed, 25 Aug 2010 19:37:52 +0800
parents 4ccb0553e804
children 84853c8559cf
comparison
equal deleted inserted replaced
748:56a5e08cd8af 749:ed59e659a202
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), 0, [])], 5 METHOD([remove], [xnjsmb_coord_remove], (SELF), 0, []),
6 METHOD([show], [xnjsmb_coord_show], (SELF), 0, []),
7 METHOD([hide], [xnjsmb_coord_hide], (SELF), 0, [])],
6 ((GET_INDEX, (coord_get_index, NUMBER)), 8 ((GET_INDEX, (coord_get_index, NUMBER)),
7 (SET_INDEX, (coord_set_index, NUMBER)), 9 (SET_INDEX, (coord_set_index, NUMBER)),
8 ([STMOD], [xnjsmb_coord_mod]))) 10 ([STMOD], [xnjsmb_coord_mod])))