diff nodejs/mbfly_njs.cc @ 1377:8ecee58c85c6

Fix issue of crashing for cloned subtree
author Thinker K.F. Li <thinker@codemud.net>
date Sun, 13 Mar 2011 08:10:57 +0800
parents 3eaf708b52c3
children 0cb89e204824
line wrap: on
line diff
--- a/nodejs/mbfly_njs.cc	Fri Mar 11 14:07:55 2011 +0800
+++ b/nodejs/mbfly_njs.cc	Sun Mar 13 08:10:57 2011 +0800
@@ -33,8 +33,8 @@
     return coord;
 }
 
-void
-_xnjsmb_mb_rt_objs_mod(Handle<Object> mbrt, Handle<Value> ret) {
+static void
+xnjsmb_mb_rt_objs_mod(Handle<Object> mbrt, Handle<Value> ret) {
     Handle<Object> ret_obj = ret->ToObject();
 
     SET(ret_obj, "mbrt", mbrt);