Mercurial > MadButterfly
annotate 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 |
rev | line source |
---|---|
687
da12923a789a
Migrate paints.cc to use gen_v8_binding.m4
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
1 define([PROJ_PREFIX], [xnjsmb_auto_])dnl |
da12923a789a
Migrate paints.cc to use gen_v8_binding.m4
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
2 dnl |
da12923a789a
Migrate paints.cc to use gen_v8_binding.m4
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
3 STRUCT([paint], [paint_t], [], |
da12923a789a
Migrate paints.cc to use gen_v8_binding.m4
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
4 [METHOD([fill], [xnjsmb_paint_fill], |
da12923a789a
Migrate paints.cc to use gen_v8_binding.m4
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
5 (SELF, OBJ([sh], [shape], [shape_t])), 1, []), |
da12923a789a
Migrate paints.cc to use gen_v8_binding.m4
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
6 METHOD([stroke], [xnjsmb_paint_stroke], |
da12923a789a
Migrate paints.cc to use gen_v8_binding.m4
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
7 (SELF, OBJ([sh], [shape], [shape_t])), 1, [])]) |
da12923a789a
Migrate paints.cc to use gen_v8_binding.m4
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
8 |
da12923a789a
Migrate paints.cc to use gen_v8_binding.m4
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
9 STRUCT([paint_color], [paint_t], [], |
da12923a789a
Migrate paints.cc to use gen_v8_binding.m4
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
10 [], |
da12923a789a
Migrate paints.cc to use gen_v8_binding.m4
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
11 (([INHERIT], [paint]))) |
da12923a789a
Migrate paints.cc to use gen_v8_binding.m4
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
12 |
da12923a789a
Migrate paints.cc to use gen_v8_binding.m4
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
13 STRUCT([paint_image], [paint_t], [], |
da12923a789a
Migrate paints.cc to use gen_v8_binding.m4
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
14 [], |
da12923a789a
Migrate paints.cc to use gen_v8_binding.m4
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
15 (([INHERIT], [paint]))) |