summaryrefslogtreecommitdiff
path: root/giscanner/ast.py
diff options
context:
space:
mode:
Diffstat (limited to 'giscanner/ast.py')
-rw-r--r--giscanner/ast.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/giscanner/ast.py b/giscanner/ast.py
index 9a0d95c7..e11fc988 100644
--- a/giscanner/ast.py
+++ b/giscanner/ast.py
@@ -1188,7 +1188,8 @@ class Class(Node, Registered):
gtype_name=None,
get_type=None,
c_symbol_prefix=None,
- is_abstract=False):
+ is_abstract=False,
+ is_final=False):
Node.__init__(self, name)
Registered.__init__(self, gtype_name, get_type)
self.ctype = ctype
@@ -1205,6 +1206,7 @@ class Class(Node, Registered):
self.parent_chain = []
self.glib_type_struct = None
self.is_abstract = is_abstract
+ self.is_final = is_final
self.methods = []
self.virtual_methods = []
self.static_methods = []