Mercurial > MadButterfly
comparison nodejs/mbfly_njs.cc @ 683:7685c57e29d0
Migrate JS shapes binding to gen_v8_binding.m4
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Sat, 07 Aug 2010 18:27:53 +0800 |
parents | b601a4d6f7d1 |
children | b346e4699e55 |
comparison
equal
deleted
inserted
replaced
682:4a38e571cfce | 683:7685c57e29d0 |
---|---|
24 | 24 |
25 return coord; | 25 return coord; |
26 } | 26 } |
27 | 27 |
28 static void | 28 static void |
29 xnjsmb_coord_new_mod(Handle<Object> mbrt, Handle<Value> ret) { | 29 xnjsmb_mb_rt_objs_mod(Handle<Object> mbrt, Handle<Value> ret) { |
30 Handle<Object> ret_obj = ret->ToObject(); | 30 Handle<Object> ret_obj = ret->ToObject(); |
31 | 31 |
32 SET(ret_obj, "mbrt", mbrt); | 32 SET(ret_obj, "mbrt", mbrt); |
33 } | 33 } |
34 | 34 |
74 | 74 |
75 /*! \defgroup njs_template_cb Callback functions for v8 engine and nodejs. | 75 /*! \defgroup njs_template_cb Callback functions for v8 engine and nodejs. |
76 * | 76 * |
77 * @{ | 77 * @{ |
78 */ | 78 */ |
79 | |
80 #define xnjsmb_auto_path_new export_xnjsmb_auto_path_new | |
81 #define xnjsmb_auto_stext_new export_xnjsmb_auto_stext_new | |
82 #define xnjsmb_auto_image_new export_xnjsmb_auto_image_new | |
79 | 83 |
80 #include "mbfly_njs-inc.h" | 84 #include "mbfly_njs-inc.h" |
81 | 85 |
82 /* @} */ | 86 /* @} */ |
83 | 87 |