comparison nodejs/mbfly_njs.cc @ 684:b346e4699e55

Add more comment for JS binding
author Thinker K.F. Li <thinker@branda.to>
date Sat, 07 Aug 2010 19:33:42 +0800
parents 7685c57e29d0
children da12923a789a
comparison
equal deleted inserted replaced
683:7685c57e29d0 684:b346e4699e55
8 8
9 #include "mbfly_njs.h" 9 #include "mbfly_njs.h"
10 10
11 using namespace v8; 11 using namespace v8;
12 12
13 /*! \defgroup xnjsmb_mb_rt JS binding for MB runtime.
14 * \ingroup xnjsmb
15 *
16 * @{
17 */
13 static coord_t * 18 static coord_t *
14 xnjsmb_coord_new(njs_runtime_t *rt, coord_t *parent, const char **err) { 19 xnjsmb_coord_new(njs_runtime_t *rt, coord_t *parent, const char **err) {
15 coord_t *coord; 20 coord_t *coord;
16 redraw_man_t *rdman; 21 redraw_man_t *rdman;
17 22
130 xnjsmb_observer_init(); 135 xnjsmb_observer_init();
131 136
132 target->Set(String::New("mb_rt"), 137 target->Set(String::New("mb_rt"),
133 xnjsmb_auto_mb_rt_temp->GetFunction()); 138 xnjsmb_auto_mb_rt_temp->GetFunction());
134 } 139 }
140
141 /* @} */