Mercurial > MadButterfly
comparison nodejs/image_ldr.cc @ 640:9016e7e70f7d
Group binding for image loader with Doxygen syntax
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Mon, 26 Jul 2010 20:59:49 +0800 |
parents | dc32c1c140ae |
children | a65720721c60 |
comparison
equal
deleted
inserted
replaced
639:dc32c1c140ae | 640:9016e7e70f7d |
---|---|
12 using namespace v8; | 12 using namespace v8; |
13 | 13 |
14 #ifndef ASSERT | 14 #ifndef ASSERT |
15 #define ASSERT(x) | 15 #define ASSERT(x) |
16 #endif | 16 #endif |
17 | |
18 /*! \defgroup img_ldr_js Javascript binding for image loader. | |
19 * | |
20 * @{ | |
21 */ | |
17 | 22 |
18 static Persistent<ObjectTemplate> img_data_temp; | 23 static Persistent<ObjectTemplate> img_data_temp; |
19 | 24 |
20 /*! \brief load() method of img_ldr Javascript objects. | 25 /*! \brief load() method of img_ldr Javascript objects. |
21 */ | 26 */ |
75 WRAP(self, img_ldr); | 80 WRAP(self, img_ldr); |
76 | 81 |
77 return Null(); | 82 return Null(); |
78 } | 83 } |
79 | 84 |
85 /* @} */ | |
86 | |
80 /*! \brief Initialize image loader. | 87 /*! \brief Initialize image loader. |
81 * | 88 * |
82 * This function is called by init() in mbfly_njs.cc when the module | 89 * This function is called by init() in mbfly_njs.cc when the module |
83 * being loaded. | 90 * being loaded. |
84 */ | 91 */ |