Mercurial > MadButterfly
changeset 697:6ddc8b42188f
Merge from HEAD
author | wycc |
---|---|
date | Mon, 09 Aug 2010 16:43:27 +0800 |
parents | f46a0771fd30 (diff) 7e64e0f70cb6 (current diff) |
children | 32e1b8005403 |
files | nodejs/testcase.js |
diffstat | 2 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/nodejs/coord.cc Mon Aug 09 12:03:46 2010 +0800 +++ b/nodejs/coord.cc Mon Aug 09 16:43:27 2010 +0800 @@ -88,7 +88,7 @@ /*! \brief This function used by \ref xnjsmb_mb_rt to wrap coord object. */ Handle<Value> export_xnjsmb_auto_coord_new(coord_t *coord) { - xnjsmb_auto_coord_new(coord); + return xnjsmb_auto_coord_new(coord); } /*! \brief Initialize Javascript object for root coord of a runtime.
--- a/nodejs/testcase.js Mon Aug 09 12:03:46 2010 +0800 +++ b/nodejs/testcase.js Mon Aug 09 16:43:27 2010 +0800 @@ -10,6 +10,7 @@ var coord = mb_rt.coord_new(root); sys.puts("coord matrix: " + [coord[0], coord[1], coord[2], coord[3], coord[4], coord[5]]); +sys.puts('coord='+coord); /* Testcase for image shapes */ var img = mb_rt.image_new(10, 10, 50, 50);