diff nodejs/mbfly_njs.cc @ 1453:0cb89e204824

Implement tree-traveling for JS
author Thinker K.F. Li <thinker@codemud.net>
date Wed, 13 Apr 2011 17:34:09 +0800
parents 8ecee58c85c6
children
line wrap: on
line diff
--- a/nodejs/mbfly_njs.cc	Wed Apr 13 17:27:55 2011 +0800
+++ b/nodejs/mbfly_njs.cc	Wed Apr 13 17:34:09 2011 +0800
@@ -40,8 +40,6 @@
     SET(ret_obj, "mbrt", mbrt);
 }
 
-#define xnjsmb_auto_coord_new export_xnjsmb_auto_coord_new
-
 static void
 xnjsmb_redraw_changed(njs_runtime_t *rt) {
     redraw_man_t *rdman;
@@ -121,6 +119,7 @@
  * we need a exported version to call them indrectly from other
  * modules.
  */
+#define xnjsmb_auto_coord_new export_xnjsmb_auto_coord_new
 #define xnjsmb_auto_path_new export_xnjsmb_auto_path_new
 #define xnjsmb_auto_stext_new export_xnjsmb_auto_stext_new
 #define xnjsmb_auto_image_new export_xnjsmb_auto_image_new