diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2021-06-17 14:14:09 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2021-08-05 17:47:29 +0100 |
commit | f83e75ddb971561503dd3afb58edbaa2aaf6dc0e (patch) | |
tree | c64f069437b9e77798229a31d6b6f303637e016f /giscanner/ast.py | |
parent | b058ccaedad3c4d353abf3c1d0b490579e246fd0 (diff) | |
download | gobject-introspection-f83e75ddb971561503dd3afb58edbaa2aaf6dc0e.tar.gz |
Add annotations for property setters and getters
We need new annotations to allow library developers to associate a
setter and a getter functions to a property definition.
Diffstat (limited to 'giscanner/ast.py')
-rw-r--r-- | giscanner/ast.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/giscanner/ast.py b/giscanner/ast.py index a85e8879..c94ee768 100644 --- a/giscanner/ast.py +++ b/giscanner/ast.py @@ -1298,6 +1298,8 @@ class Property(Node): self.transfer = PARAM_TRANSFER_NONE else: self.transfer = transfer + self.setter = None + self.getter = None self.parent = None # A Class or Interface |