Mercurial > MadButterfly
comparison 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 |
comparison
equal
deleted
inserted
replaced
570:49e79253b6d3 | 571:13b15b7a463b |
---|---|
113 | 113 |
114 X_MB_free(rt->xrt); | 114 X_MB_free(rt->xrt); |
115 free(rt); | 115 free(rt); |
116 } | 116 } |
117 | 117 |
118 int | |
119 X_njs_MB_flush(njs_runtime_t *rt) { | |
120 void *xrt = rt->xrt; | |
121 int r; | |
122 extern int _X_MB_flush_x_conn_for_nodejs(void *rt); | |
123 | |
124 _X_MB_flush_x_conn_for_nodejs(xrt); | |
125 | |
126 return r; | |
127 } | |
128 | |
118 njs_runtime_t * | 129 njs_runtime_t * |
119 X_njs_MB_new(char *display_name, int w, int h) { | 130 X_njs_MB_new(char *display_name, int w, int h) { |
120 njs_runtime_t *rt; | 131 njs_runtime_t *rt; |
121 void *xrt; | 132 void *xrt; |
122 | 133 |