Mercurial > MadButterfly
diff nodejs/X_supp_njs.h @ 550:127499ab2412 Android_Skia
Upgrade ndoejs plugin to level of a new runtime.
Original, nodejs plugin is a variant of X runtime. But, now, I think
it had better a new runtime that reuse code of X runtime. It would be
easier to maintain.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Sun, 06 Jun 2010 13:58:01 +0800 |
parents | |
children | 9e69c4a0f565 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nodejs/X_supp_njs.h Sun Jun 06 13:58:01 2010 +0800 @@ -0,0 +1,12 @@ +#ifndef __X_SUPP_NJS_H_ +#define __X_SUPP_NJS_H_ + +struct _njs_ev_data; +typedef struct _njs_ev_data njs_ev_data_t; + +extern void X_njs_MB_handle_connection(njs_ev_data_t *ev_data); +extern void X_njs_MB_free(njs_ev_data_t *ev_data); +extern njs_ev_data_t *X_njs_MB_new(char *display_name, int w, int h); +extern void *_X_njs_MB_get_runtime(nsj_ev_data_t *ev_data); + +#endif /* __X_SUPP_NJS_H_ */