projects
/
platform
/
upstream
/
gobject-introspection.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19692e8
)
PEP-8*
author
Johan Dahlin
<johan@src.gnome.org>
Sun, 10 Aug 2008 20:37:03 +0000
(20:37 +0000)
committer
Johan Dahlin
<johan@src.gnome.org>
Sun, 10 Aug 2008 20:37:03 +0000
(20:37 +0000)
svn path=/trunk/; revision=345
giscanner/cgobject.py
patch
|
blob
|
history
diff --git
a/giscanner/cgobject.py
b/giscanner/cgobject.py
index
e38a13c
..
0805553
100644
(file)
--- a/
giscanner/cgobject.py
+++ b/
giscanner/cgobject.py
@@
-34,6
+34,7
@@
from ctypes.util import find_library
def gwrap(lib, fname, ret, *argtypes):
+
def _deco(f):
f._cfunc = getattr(lib, fname)
f._cfunc.restype = ret