diff nodejs/observer.cc @ 656:38c720272dd5

Change prefix for the code generated by generator
author Thinker K.F. Li <thinker@branda.to>
date Sat, 31 Jul 2010 14:11:01 +0800
parents d58251f1bf0b
children 62c2de99b03a
line wrap: on
line diff
--- a/nodejs/observer.cc	Sat Jul 31 14:05:28 2010 +0800
+++ b/nodejs/observer.cc	Sat Jul 31 14:11:01 2010 +0800
@@ -54,7 +54,7 @@
     Handle<Value> evt_obj;
     Handle<Value> func_args[1];
 
-    evt_obj = xnjsmb_event_new(evt);
+    evt_obj = xnjsmb_auto_event_new(evt);
     ASSERT(!evt_obj.IsEmpty());
     func_args[0] = evt_obj;
     data->func->Call(Context::GetCurrent()->Global(), 1, func_args);