diff nodejs/coord.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 a588eefd3f04
children 763a4e2bbd85
line wrap: on
line diff
--- a/nodejs/coord.cc	Sat Aug 07 18:27:53 2010 +0800
+++ b/nodejs/coord.cc	Sat Aug 07 19:33:42 2010 +0800
@@ -16,6 +16,11 @@
 
 using namespace v8;
 
+/*! \defgroup xnjsmb_coord JS binding for coord objects.
+ * \ingroup xnjsmb
+ *
+ * @{
+ */
 static void
 xnjsmb_coord_mod(Handle<Object> self, coord_t *coord) {
     Persistent<Object> *self_hdl;
@@ -80,6 +85,8 @@
 
 #include "coord-inc.h"
 
+/*! \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);
 }
@@ -110,3 +117,5 @@
 
     SET(js_rt, "root", obj);
 }
+
+/* @} */