Merge remote-tracking branch 'origin/gir-docbook'
authorJohan Dahlin <johan@gnome.org>
Sat, 13 Aug 2011 17:42:05 +0000 (14:42 -0300)
committerJohan Dahlin <jdahlin@litl.com>
Sat, 13 Aug 2011 17:42:05 +0000 (14:42 -0300)
Conflicts:
.gitignore
tests/scanner/Regress-1.0-expected.gir

1  2 
giscanner/ast.py

@@@ -575,23 -573,15 +575,30 @@@ class Function(Callable)
          self.is_constructor = False
          self.shadowed_by = None # C symbol string
          self.shadows = None # C symbol string
 +        self.moved_to = None # namespaced function name string
 +
 +    def clone(self):
 +        clone = copy.copy(self)
 +        # copy the parameters array so a change to self.parameters does not
 +        # influence clone.parameters.
 +        clone.parameters = self.parameters[:]
 +        return clone
 +
 +
 +class ErrorQuarkFunction(Function):
 +
 +    def __init__(self, name, retval, parameters, throws, symbol, error_domain):
 +        Function.__init__(self, name, retval, parameters, throws, symbol)
 +        self.error_domain = error_domain
  
  
+ class ErrorQuarkFunction(Function):
+     def __init__(self, name, retval, parameters, throws, symbol, error_domain):
+         Function.__init__(self, name, retval, parameters, throws, symbol)
+         self.error_domain = error_domain
  class VFunction(Callable):
  
      def __init__(self, name, retval, parameters, throws):