Mercurial > MadButterfly
comparison nodejs/njs_mb_supp.h @ 1058:3a03b0953e22
Rename xrt to mb_rt.
References in macros in njs_mb_supp.h are missed in previous update.
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Wed, 24 Nov 2010 16:17:17 +0800 |
parents | 88bd0eee2b00 |
children | e415c55b4a0d |
comparison
equal
deleted
inserted
replaced
1057:60e7e666a573 | 1058:3a03b0953e22 |
---|---|
20 extern int njs_mb_flush(njs_runtime_t *rt); | 20 extern int njs_mb_flush(njs_runtime_t *rt); |
21 extern void njs_mb_handle_single_event(njs_runtime_t *rt, void *evt); | 21 extern void njs_mb_handle_single_event(njs_runtime_t *rt, void *evt); |
22 extern void njs_mb_no_more_event(njs_runtime_t *rt); | 22 extern void njs_mb_no_more_event(njs_runtime_t *rt); |
23 extern mb_rt_t *_njs_mb_get_runtime(njs_runtime_t *rt); | 23 extern mb_rt_t *_njs_mb_get_runtime(njs_runtime_t *rt); |
24 | 24 |
25 #define njs_mb_kbevents(rt) mb_runtime_kbevents((rt)->xrt) | 25 #define njs_mb_kbevents(rt) mb_runtime_kbevents((rt)->mb_rt) |
26 #define njs_mb_rdman(rt) mb_runtime_rdman((rt)->xrt) | 26 #define njs_mb_rdman(rt) mb_runtime_rdman((rt)->mb_rt) |
27 #define njs_mb_timer_man(rt) mb_runtime_timer_man((rt)->xrt) | 27 #define njs_mb_timer_man(rt) mb_runtime_timer_man((rt)->mb_rt) |
28 #define njs_mb_ob_factory(rt) mb_runtime_ob_factory((rt)->xrt) | 28 #define njs_mb_ob_factory(rt) mb_runtime_ob_factory((rt)->mb_rt) |
29 #define njs_mb_img_ldr(rt) mb_runtime_img_ldr((rt)->xrt) | 29 #define njs_mb_img_ldr(rt) mb_runtime_img_ldr((rt)->mb_rt) |
30 | 30 |
31 #endif /* __NJS_MB_SUPP_H_ */ | 31 #endif /* __NJS_MB_SUPP_H_ */ |