comparison nodejs/mbfly_njs.cc @ 1042:18256f404193 refine_backend_if

nodejs binding passes compiling
author Thinker K.F. Li <thinker@codemud.net>
date Tue, 23 Nov 2010 11:44:27 +0800
parents 22e5cf38d8e8
children df6ee4568ca2
comparison
equal deleted inserted replaced
1041:eb3d2e3381cb 1042:18256f404193
78 obj = X_njs_MB_new(display_name, width, height); 78 obj = X_njs_MB_new(display_name, width, height);
79 WRAP(self, obj); /* mkroot need a wrapped object, but 79 WRAP(self, obj); /* mkroot need a wrapped object, but
80 * it is wrapped after returning of 80 * it is wrapped after returning of
81 * this function. So, we wrap it 81 * this function. So, we wrap it
82 * here. */ 82 * here. */
83 X_njs_MB_init_handle_connection(obj);
84 xnjsmb_coord_mkroot(self); 83 xnjsmb_coord_mkroot(self);
85 84
86 subject = X_njs_MB_kbevents(obj); 85 subject = X_njs_MB_kbevents(obj);
87 subject_o = export_xnjsmb_auto_subject_new(subject); 86 subject_o = export_xnjsmb_auto_subject_new(subject);
88 SET(self, "kbevents", subject_o); 87 SET(self, "kbevents", subject_o);