Mercurial > MadButterfly
comparison nodejs/paints.m4 @ 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 | |
children | 0b98bdc53215 |
comparison
equal
deleted
inserted
replaced
686:ddce24029561 | 687:da12923a789a |
---|---|
1 define([PROJ_PREFIX], [xnjsmb_auto_])dnl | |
2 dnl | |
3 STRUCT([paint], [paint_t], [], | |
4 [METHOD([fill], [xnjsmb_paint_fill], | |
5 (SELF, OBJ([sh], [shape], [shape_t])), 1, []), | |
6 METHOD([stroke], [xnjsmb_paint_stroke], | |
7 (SELF, OBJ([sh], [shape], [shape_t])), 1, [])]) | |
8 | |
9 STRUCT([paint_color], [paint_t], [], | |
10 [], | |
11 (([INHERIT], [paint]))) | |
12 | |
13 STRUCT([paint_image], [paint_t], [], | |
14 [], | |
15 (([INHERIT], [paint]))) |