diff 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
line wrap: on
line diff
--- a/nodejs/mbfly_njs.cc	Sat Aug 07 18:27:53 2010 +0800
+++ b/nodejs/mbfly_njs.cc	Sat Aug 07 19:33:42 2010 +0800
@@ -10,6 +10,11 @@
 
 using namespace v8;
 
+/*! \defgroup xnjsmb_mb_rt JS binding for MB runtime.
+ * \ingroup xnjsmb
+ *
+ * @{
+ */
 static coord_t *
 xnjsmb_coord_new(njs_runtime_t *rt, coord_t *parent, const char **err) {
     coord_t *coord;
@@ -132,3 +137,5 @@
     target->Set(String::New("mb_rt"),
 		xnjsmb_auto_mb_rt_temp->GetFunction());    
 }
+
+/* @} */