# HG changeset patch # User Thinker K.F. Li # Date 1275804673 -28800 # Node ID 0a77b88500bf9dc47ccdb53c23d859465c94f0ae # Parent dd8d32b4c899481eb42944b32204ea65a0530ff9 rename _X_njs_MB_get_runtime to _X_njs_MB_get_X_runtime diff -r dd8d32b4c899 -r 0a77b88500bf nodejs/X_supp_njs.c --- 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; } diff -r dd8d32b4c899 -r 0a77b88500bf nodejs/X_supp_njs.h --- 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_ */