Mercurial > MadButterfly
comparison nodejs/coord.m4 @ 661:90c7726bc953
Replace part code of coord.cc by the code generated by generator
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Sun, 01 Aug 2010 20:18:59 +0800 |
parents | |
children | b6fb543d69ee |
comparison
equal
deleted
inserted
replaced
660:dde4e3cc9529 | 661:90c7726bc953 |
---|---|
1 define([PROJ_PREFIX], [xnjsmb_auto_])dnl | |
2 STRUCT([coord], [coord_t], [], | |
3 [METHOD([add_shape], [xnjsmb_coord_add_shape], | |
4 (SELF, OBJ([shape], [shape_t]), ERR), 1, [])], | |
5 ((GET_INDEX, (coord_get_index, NUMBER)), | |
6 (SET_INDEX, (coord_set_index, NUMBER)))) |