view nodejs/coord.m4 @ 662:689e15edbf72

Merge the head from FourDollars
author Thinker K.F. Li <thinker@branda.to>
date Sun, 01 Aug 2010 20:20:33 +0800
parents 90c7726bc953
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))))