annotate nodejs/coord.m4 @ 676:f264b50c469c

Bind subject of mouse_event to JS object of coord
author Thinker K.F. Li <thinker@branda.to>
date Fri, 06 Aug 2010 13:33:47 +0800
parents b6fb543d69ee
children a588eefd3f04
rev   line source
661
90c7726bc953 Replace part code of coord.cc by the code generated by generator
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
1 define([PROJ_PREFIX], [xnjsmb_auto_])dnl
90c7726bc953 Replace part code of coord.cc by the code generated by generator
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
2 STRUCT([coord], [coord_t], [],
90c7726bc953 Replace part code of coord.cc by the code generated by generator
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
3 [METHOD([add_shape], [xnjsmb_coord_add_shape],
666
b6fb543d69ee Use binding generator to implement mb_rt
Thinker K.F. Li <thinker@branda.to>
parents: 661
diff changeset
4 (SELF, OBJ([shape], [shape], [shape_t]), ERR), 1, [])],
661
90c7726bc953 Replace part code of coord.cc by the code generated by generator
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
5 ((GET_INDEX, (coord_get_index, NUMBER)),
90c7726bc953 Replace part code of coord.cc by the code generated by generator
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
6 (SET_INDEX, (coord_set_index, NUMBER))))