diff nodejs/coord.m4 @ 666:b6fb543d69ee

Use binding generator to implement mb_rt
author Thinker K.F. Li <thinker@branda.to>
date Wed, 04 Aug 2010 21:35:40 +0800
parents 90c7726bc953
children a588eefd3f04
line wrap: on
line diff
--- a/nodejs/coord.m4	Wed Aug 04 21:33:43 2010 +0800
+++ b/nodejs/coord.m4	Wed Aug 04 21:35:40 2010 +0800
@@ -1,6 +1,6 @@
 define([PROJ_PREFIX], [xnjsmb_auto_])dnl
 STRUCT([coord], [coord_t], [],
 	[METHOD([add_shape], [xnjsmb_coord_add_shape],
-		(SELF, OBJ([shape], [shape_t]), ERR), 1, [])],
+		(SELF, OBJ([shape], [shape], [shape_t]), ERR), 1, [])],
 	((GET_INDEX, (coord_get_index, NUMBER)),
 	 (SET_INDEX, (coord_set_index, NUMBER))))