Mercurial > MadButterfly
diff nodejs/X_supp_njs.c @ 571:13b15b7a463b Android_Skia
Redraw all and changed in Javascript
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Wed, 09 Jun 2010 15:39:24 +0800 |
parents | ce7a35abcb0d |
children | cedfe4966fd6 |
line wrap: on
line diff
--- a/nodejs/X_supp_njs.c Wed Jun 09 15:10:29 2010 +0800 +++ b/nodejs/X_supp_njs.c Wed Jun 09 15:39:24 2010 +0800 @@ -115,6 +115,17 @@ free(rt); } +int +X_njs_MB_flush(njs_runtime_t *rt) { + void *xrt = rt->xrt; + int r; + extern int _X_MB_flush_x_conn_for_nodejs(void *rt); + + _X_MB_flush_x_conn_for_nodejs(xrt); + + return r; +} + njs_runtime_t * X_njs_MB_new(char *display_name, int w, int h) { njs_runtime_t *rt;