summaryrefslogtreecommitdiff
path: root/src/examples/eolian_cxx/colourable.eo
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/eolian_cxx/colourable.eo')
-rw-r--r--src/examples/eolian_cxx/colourable.eo6
1 files changed, 2 insertions, 4 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 }