Add new decorator @gwrap which forces us to declare types for both return
authorColin Walters <walters@verbum.org>
Sun, 10 Aug 2008 20:34:18 +0000 (20:34 +0000)
committerColin Walters <walters@src.gnome.org>
Sun, 10 Aug 2008 20:34:18 +0000 (20:34 +0000)
commit19692e8f5e9eb752a486608bae9d976c7c54432c
tree1211e9f305f524afec867c26c851b007ec1f02f7
parentec30be96a8cd68d792c998e9f81e7e8da37ac6d4
Add new decorator @gwrap which forces us to declare types for both return

2008-08-10  Colin Walters  <walters@verbum.org>

* giscanner/cgobject.py: Add new decorator @gwrap which forces
us to declare types for both return value and parameters.  The
ctypes default of 'int' is bad because it hides 32/64 bit
problems.  Convert all existing functions to use it.

svn path=/trunk/; revision=344
ChangeLog
giscanner/cgobject.py