Mercurial > MadButterfly
changeset 637:714cd6470bd9
Doc on xnjsmb_paints_init_mb_rt_temp()
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Mon, 26 Jul 2010 09:39:51 +0800 |
parents | cc39cf3f623c |
children | 683889344459 |
files | nodejs/paints.cc |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/nodejs/paints.cc Mon Jul 26 09:19:03 2010 +0800 +++ b/nodejs/paints.cc Mon Jul 26 09:39:51 2010 +0800 @@ -269,6 +269,11 @@ xnjsmb_paint_image_new_temp = Persistent<FunctionTemplate>::New(temp); } +/*! \brief Initialize paints for mbfly. + * + * This function is called by init() in mbfly_njs.cc when the module + * being loaded. + */ void xnjsmb_paints_init_mb_rt_temp(Handle<FunctionTemplate> rt_temp) { static int init_flag = 0; Handle<ObjectTemplate> rt_proto_temp;