Mercurial > MadButterfly
view nodejs/X_supp_njs.h @ 554:4caf6090825f Android_Skia
Fix leaking on freeing a njs runtime object
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Sun, 06 Jun 2010 14:15:25 +0800 |
parents | 0a77b88500bf |
children | 962d8436a303 |
line wrap: on
line source
#ifndef __X_SUPP_NJS_H_ #define __X_SUPP_NJS_H_ struct _njs_runtime; typedef struct _njs_runtime njs_runtime_t; 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_X_runtime(njs_runtime_t *rt); #endif /* __X_SUPP_NJS_H_ */