comparison 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
comparison
equal deleted inserted replaced
686:ddce24029561 687:da12923a789a
80 /*! \defgroup njs_template_cb Callback functions for v8 engine and nodejs. 80 /*! \defgroup njs_template_cb Callback functions for v8 engine and nodejs.
81 * 81 *
82 * @{ 82 * @{
83 */ 83 */
84 84
85 /*
86 * Redirect following function to respective exported version from
87 * other modules. Since gen_v8_binding.m4 make all functions static,
88 * we need a exported version to call them indrectly from other
89 * modules.
90 */
85 #define xnjsmb_auto_path_new export_xnjsmb_auto_path_new 91 #define xnjsmb_auto_path_new export_xnjsmb_auto_path_new
86 #define xnjsmb_auto_stext_new export_xnjsmb_auto_stext_new 92 #define xnjsmb_auto_stext_new export_xnjsmb_auto_stext_new
87 #define xnjsmb_auto_image_new export_xnjsmb_auto_image_new 93 #define xnjsmb_auto_image_new export_xnjsmb_auto_image_new
94 #define xnjsmb_auto_paint_color_new export_xnjsmb_auto_paint_color_new
95 #define xnjsmb_auto_paint_image_new export_xnjsmb_auto_paint_image_new
88 96
89 #include "mbfly_njs-inc.h" 97 #include "mbfly_njs-inc.h"
90 98
91 /* @} */ 99 /* @} */
92 100