summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorPaul Pogonyshev <pogonyshev@gmx.net>2008-07-14 18:19:25 +0000
committerPaul Pogonyshev <paulp@src.gnome.org>2008-07-14 18:19:25 +0000
commiteeac05d5cbd42308c33e777aecbf00595256519d (patch)
tree3400ea9d0fb8e6b62fe317a5e77424164433d221 /ChangeLog
parent5905589cd3e35d4e1fe11f60d56560936be7ae8c (diff)
downloadpygobject-eeac05d5cbd42308c33e777aecbf00595256519d.tar.gz
pygobject-eeac05d5cbd42308c33e777aecbf00595256519d.tar.xz
pygobject-eeac05d5cbd42308c33e777aecbf00595256519d.zip
New class. (MethodDefBase.__init__): Make 'self.ret' a 'ReturnType'
2008-07-14 Paul Pogonyshev <pogonyshev@gmx.net> * codegen/definitions.py (ReturnType): New class. (MethodDefBase.__init__): Make 'self.ret' a 'ReturnType' instance, not string. Accept 'optional' flag. * codegen/argtypes.py (ArgMatcher.get_reverse_ret): Test if 'ptype' has true 'optional' attribute and copy it to 'props' then. * codegen/reversewrapper.py (ReturnType.support_optional): New class field, False by default. (GObjectReturn.support_optional, GObjectReturn.write_decl) (GObjectReturn.write_conversion): Support optional return. svn path=/trunk/; revision=796
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog12
1 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index abd0f1a..26bff50 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,17 @@
2008-07-14 Paul Pogonyshev <pogonyshev@gmx.net>
+ * codegen/definitions.py (ReturnType): New class.
+ (MethodDefBase.__init__): Make 'self.ret' a 'ReturnType' instance,
+ not string. Accept 'optional' flag.
+
+ * codegen/argtypes.py (ArgMatcher.get_reverse_ret): Test if
+ 'ptype' has true 'optional' attribute and copy it to 'props' then.
+
+ * codegen/reversewrapper.py (ReturnType.support_optional): New
+ class field, False by default.
+ (GObjectReturn.support_optional, GObjectReturn.write_decl)
+ (GObjectReturn.write_conversion): Support optional return.
+
* pygobject-2.0.pc.in: Add 'codegendir' variable.
* codegen/pygtk-codegen-2.0.in: Make 'codegendir' refer to
PyGObject's codegen, not PyGTK's one --- the latter will be