view 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
line wrap: on
line source

define([PROJ_PREFIX], [xnjsmb_auto_])dnl
STRUCT([coord], [coord_t], [],
	[METHOD([add_shape], [xnjsmb_coord_add_shape],
		(SELF, OBJ([shape], [shape_t]), ERR), 1, [])],
	((GET_INDEX, (coord_get_index, NUMBER)),
	 (SET_INDEX, (coord_set_index, NUMBER))))