Mercurial > MadButterfly
changeset 553:0a77b88500bf Android_Skia
rename _X_njs_MB_get_runtime to _X_njs_MB_get_X_runtime
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Sun, 06 Jun 2010 14:11:13 +0800 |
parents | dd8d32b4c899 |
children | 4caf6090825f |
files | nodejs/X_supp_njs.c nodejs/X_supp_njs.h |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/nodejs/X_supp_njs.c Sun Jun 06 14:06:42 2010 +0800 +++ b/nodejs/X_supp_njs.c Sun Jun 06 14:11:13 2010 +0800 @@ -132,7 +132,9 @@ return rt; } +/*! \brief Get X runtime that is backend of this njs runtime. + */ void * -_X_njs_MB_get_runtime(njs_runtime_t *rt) { +_X_njs_MB_get_X_runtime(njs_runtime_t *rt) { return rt->xrt; }
--- a/nodejs/X_supp_njs.h Sun Jun 06 14:06:42 2010 +0800 +++ b/nodejs/X_supp_njs.h Sun Jun 06 14:11:13 2010 +0800 @@ -7,6 +7,6 @@ extern void X_njs_MB_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_get_runtime(njs_runtime_t *rt); +extern void *_X_njs_MB_get_X_runtime(njs_runtime_t *rt); #endif /* __X_SUPP_NJS_H_ */