Mercurial > MadButterfly
diff nodejs/X_supp_njs.h @ 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 |
line wrap: on
line diff
--- a/nodejs/X_supp_njs.h Tue Nov 23 11:42:01 2010 +0800 +++ b/nodejs/X_supp_njs.h Tue Nov 23 11:44:27 2010 +0800 @@ -7,14 +7,12 @@ #include <mb_backend.h> typedef struct _njs_runtime { - int enable_io; - int enable_timer; mb_rt_t *xrt; } njs_runtime_t; extern void X_njs_MB_reg_timer_man(void); extern void X_njs_MB_reg_IO_man(void); -extern void X_njs_MB_init_handle_connection(njs_runtime_t *rt); +/* extern void X_njs_MB_init_handle_connection(njs_runtime_t *rt); */ extern void X_njs_MB_free(njs_runtime_t *rt); extern njs_runtime_t *X_njs_MB_new(char *display_name, int w, int h); extern void X_njs_MB_free_keep_win(njs_runtime_t *rt);