Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/giscanner/ast.py
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2009-02-20 22:34:20 (GMT)
committer Colin Walters <walters@verbum.org>2009-02-25 22:31:49 (GMT)
commit251de52b083d3e0e42f25cb164a46865c2c2b9a9 (patch)
tree99db442fd1bb299466f5d277561becfca4b220ee /giscanner/ast.py
parent0b9dda0e725446882dca84b6a64688c8f0e5a4e3 (diff)
Bug 572434 - Associate interfaces with their C structures
Similar to GObject class structs, we pair up GInterfaces with their C structures. Also, move some GLib-specific things into glibast.py, and make the naming more generic.
Diffstat (limited to 'giscanner/ast.py')
-rw-r--r--giscanner/ast.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/giscanner/ast.py b/giscanner/ast.py
index ff65312..e708258 100644
--- a/giscanner/ast.py
+++ b/giscanner/ast.py
@@ -1,6 +1,7 @@
# -*- Mode: Python -*-
# GObject-Introspection - a framework for introspecting GObject libraries
# Copyright (C) 2008 Johan Dahlin
+# Copyright (C) 2008, 2009 Red Hat, Inc.
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@ -366,11 +367,7 @@ class Record(Node):
self.symbol = symbol
self.disguised = disguised
self.doc = None
- self.constructors = []
self.methods = []
- # If true, this record defines the FooClass C structure
- # for some Foo GObject
- self.is_gobject_struct_for = False
# BW compat, remove
Struct = Record
@@ -410,7 +407,7 @@ class Class(Node):
Node.__init__(self, name)
self.ctype = name
self.parent = parent
- self.class_struct = None
+ self.glib_type_struct = None
self.is_abstract = is_abstract
self.methods = []
self.static_methods = []
@@ -432,6 +429,7 @@ class Interface(Node):
Node.__init__(self, name)
self.parent = parent
self.methods = []
+ self.glib_type_struct = None
self.properties = []
self.fields = []
self.prerequisites = []