summaryrefslogtreecommitdiff
path: root/src/examples/eolian_cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/eolian_cxx')
-rw-r--r--src/examples/eolian_cxx/colourable.eo6
-rw-r--r--src/examples/eolian_cxx/colourablesquare.eo6
2 files changed, 4 insertions, 8 deletions
diff --git a/src/examples/eolian_cxx/colourable.eo b/src/examples/eolian_cxx/colourable.eo
index 3693818..b50bf3c 100644
--- a/src/examples/eolian_cxx/colourable.eo
+++ b/src/examples/eolian_cxx/colourable.eo
@@ -19,9 +19,7 @@ class Colourable (Eo.Base)
19 } 19 }
20 return: int; /*@ The RGB colour. */ 20 return: int; /*@ The RGB colour. */
21 } 21 }
22 } 22 @property colour {
23 properties {
24 colour {
25 set { 23 set {
26 /*@ Sets a 24-bit RGB colour. */ 24 /*@ Sets a 24-bit RGB colour. */
27 } 25 }
@@ -32,7 +30,7 @@ class Colourable (Eo.Base)
32 int rgb; /*@ The RGB colour value. */ 30 int rgb; /*@ The RGB colour value. */
33 } 31 }
34 } 32 }
35 composite_colour { 33 @property composite_colour {
36 set { 34 set {
37 /*@ Sets a composite RGB colour. */ 35 /*@ Sets a composite RGB colour. */
38 } 36 }
diff --git a/src/examples/eolian_cxx/colourablesquare.eo b/src/examples/eolian_cxx/colourablesquare.eo
index 1ee4e47..87e3a26 100644
--- a/src/examples/eolian_cxx/colourablesquare.eo
+++ b/src/examples/eolian_cxx/colourablesquare.eo
@@ -2,8 +2,8 @@ class ColourableSquare (Colourable)
2{ 2{
3 legacy_prefix: legacy; 3 legacy_prefix: legacy;
4 data: ColourableSquare_Data; 4 data: ColourableSquare_Data;
5 properties { 5 methods {
6 size { 6 @property size {
7 set { 7 set {
8 /*@ Sets size. */ 8 /*@ Sets size. */
9 } 9 }
@@ -14,8 +14,6 @@ class ColourableSquare (Colourable)
14 int size; /*@ The size. */ 14 int size; /*@ The size. */
15 } 15 }
16 } 16 }
17 }
18 methods {
19 size_constructor { 17 size_constructor {
20 legacy: null; 18 legacy: null;
21 params { 19 params {