diff nodejs/shapes.cc @ 1053:df6ee4568ca2

Rename X_njs_MB_* to njs_mb_* for nodejs plugin.
author Thinker K.F. Li <thinker@codemud.net>
date Wed, 24 Nov 2010 15:44:28 +0800
parents 2b492008ce26
children
line wrap: on
line diff
--- a/nodejs/shapes.cc	Wed Nov 24 14:45:17 2010 +0800
+++ b/nodejs/shapes.cc	Wed Nov 24 15:44:28 2010 +0800
@@ -282,7 +282,7 @@
     redraw_man_t *rdman;
     shape_t *sh;
 
-    rdman = X_njs_MB_rdman(rt);
+    rdman = njs_mb_rdman(rt);
     sh = rdman_shape_path_new(rdman, d);
     /* Code generator supposes that callee should free the memory */
     free((void *)d);
@@ -295,7 +295,7 @@
     redraw_man_t *rdman;
     shape_t *sh;
 
-    rdman = X_njs_MB_rdman(rt);
+    rdman = njs_mb_rdman(rt);
     sh = rdman_shape_stext_new(rdman, txt, x, y);
     /* Code generator supposes that callee should free the memory */
     free((void *)txt);
@@ -308,7 +308,7 @@
     redraw_man_t *rdman;
     shape_t *sh;
 
-    rdman = X_njs_MB_rdman(rt);
+    rdman = njs_mb_rdman(rt);
     sh = rdman_shape_image_new(rdman, x, y, w, h);
 
     return sh;
@@ -320,7 +320,7 @@
     redraw_man_t *rdman;
     shape_t *sh;
 
-    rdman = X_njs_MB_rdman(rt);
+    rdman = njs_mb_rdman(rt);
     sh = rdman_shape_rect_new(rdman, x, y, w, h, rx, ry);
     if(sh == NULL) {
 	*err = "Can not create a sh_rect_t";