Mercurial > MadButterfly
comparison nodejs/mbfly_njs.cc @ 681:b601a4d6f7d1
Change kbevent to kbevents and hide X_MB_kbevents()
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Fri, 06 Aug 2010 23:04:55 +0800 |
parents | a588eefd3f04 |
children | 7685c57e29d0 |
comparison
equal
deleted
inserted
replaced
680:a588eefd3f04 | 681:b601a4d6f7d1 |
---|---|
63 * this function. So, we wrap it | 63 * this function. So, we wrap it |
64 * here. */ | 64 * here. */ |
65 X_njs_MB_init_handle_connection(obj); | 65 X_njs_MB_init_handle_connection(obj); |
66 xnjsmb_coord_mkroot(self); | 66 xnjsmb_coord_mkroot(self); |
67 | 67 |
68 subject = X_MB_kbevents(obj->xrt); | 68 subject = X_njs_MB_kbevents(obj); |
69 subject_o = export_xnjsmb_auto_subject_new(subject); | 69 subject_o = export_xnjsmb_auto_subject_new(subject); |
70 SET(self, "kbevent", subject_o); | 70 SET(self, "kbevents", subject_o); |
71 | 71 |
72 return obj; | 72 return obj; |
73 } | 73 } |
74 | 74 |
75 /*! \defgroup njs_template_cb Callback functions for v8 engine and nodejs. | 75 /*! \defgroup njs_template_cb Callback functions for v8 engine and nodejs. |