summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-04-11 17:29:15 +0100
committerTom Hacohen <tom@stosb.com>2016-04-14 16:36:10 +0100
commitbd98b517178e4d07680de9005a6bbaf8bba6549f (patch)
tree6d0abe0afd131c1da4522b8686eb1f29c956f0bd
parentca225e7bf3437c7bbe52f55847e719b7468ae7c5 (diff)
Eo base: Make parent nullable.
It's allowed to be null, so mark it as such. This is useful for languages that support nullable vs non-nullable types.
-rw-r--r--src/lib/eo/eo_base.eo2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eo/eo_base.eo b/src/lib/eo/eo_base.eo
index ad6cd68bee..9043cf9159 100644
--- a/src/lib/eo/eo_base.eo
+++ b/src/lib/eo/eo_base.eo
@@ -62,7 +62,7 @@ abstract Eo.Base ()
62 [[Get the parent of an object]] 62 [[Get the parent of an object]]
63 } 63 }
64 values { 64 values {
65 parent: Eo.Base*; [[the new parent]] 65 parent: Eo.Base * @nullable; [[the new parent]]
66 } 66 }
67 } 67 }
68 @property event_global_freeze_count @class { 68 @property event_global_freeze_count @class {