Mercurial > MadButterfly
diff nodejs/mbfly_njs.cc @ 687:da12923a789a
Migrate paints.cc to use gen_v8_binding.m4
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Sat, 07 Aug 2010 21:37:57 +0800 |
parents | b346e4699e55 |
children | 86c6ebf1de25 |
line wrap: on
line diff
--- a/nodejs/mbfly_njs.cc Sat Aug 07 19:43:17 2010 +0800 +++ b/nodejs/mbfly_njs.cc Sat Aug 07 21:37:57 2010 +0800 @@ -82,9 +82,17 @@ * @{ */ +/* + * Redirect following function to respective exported version from + * other modules. Since gen_v8_binding.m4 make all functions static, + * we need a exported version to call them indrectly from other + * modules. + */ #define xnjsmb_auto_path_new export_xnjsmb_auto_path_new #define xnjsmb_auto_stext_new export_xnjsmb_auto_stext_new #define xnjsmb_auto_image_new export_xnjsmb_auto_image_new +#define xnjsmb_auto_paint_color_new export_xnjsmb_auto_paint_color_new +#define xnjsmb_auto_paint_image_new export_xnjsmb_auto_paint_image_new #include "mbfly_njs-inc.h"