comparison nodejs/coord.cc @ 695:763a4e2bbd85

Return the value of ojbject to fix the crash issue
author wycc
date Mon, 09 Aug 2010 16:40:57 +0800
parents b346e4699e55
children 4916c3a3fe3c
comparison
equal deleted inserted replaced
690:86c6ebf1de25 695:763a4e2bbd85
86 #include "coord-inc.h" 86 #include "coord-inc.h"
87 87
88 /*! \brief This function used by \ref xnjsmb_mb_rt to wrap coord object. 88 /*! \brief This function used by \ref xnjsmb_mb_rt to wrap coord object.
89 */ 89 */
90 Handle<Value> export_xnjsmb_auto_coord_new(coord_t *coord) { 90 Handle<Value> export_xnjsmb_auto_coord_new(coord_t *coord) {
91 xnjsmb_auto_coord_new(coord); 91 return xnjsmb_auto_coord_new(coord);
92 } 92 }
93 93
94 /*! \brief Initialize Javascript object for root coord of a runtime. 94 /*! \brief Initialize Javascript object for root coord of a runtime.
95 * 95 *
96 * \param js_rt is the runtime object to create the root object for. 96 * \param js_rt is the runtime object to create the root object for.