Mercurial > MadButterfly
comparison 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 |
comparison
equal
deleted
inserted
replaced
1376:4c5bcaba28ea | 1377:8ecee58c85c6 |
---|---|
31 rdman_coord_changed(rdman, coord); | 31 rdman_coord_changed(rdman, coord); |
32 | 32 |
33 return coord; | 33 return coord; |
34 } | 34 } |
35 | 35 |
36 void | 36 static void |
37 _xnjsmb_mb_rt_objs_mod(Handle<Object> mbrt, Handle<Value> ret) { | 37 xnjsmb_mb_rt_objs_mod(Handle<Object> mbrt, Handle<Value> ret) { |
38 Handle<Object> ret_obj = ret->ToObject(); | 38 Handle<Object> ret_obj = ret->ToObject(); |
39 | 39 |
40 SET(ret_obj, "mbrt", mbrt); | 40 SET(ret_obj, "mbrt", mbrt); |
41 } | 41 } |
42 | 42 |