diff options
author | John (J5) Palmieri <johnp@redhat.com> | 2004-12-23 00:50:37 +0000 |
---|---|---|
committer | John (J5) Palmieri <johnp@redhat.com> | 2004-12-23 00:50:37 +0000 |
commit | f06f148871c42ca76c7f7471ca7d0acb66fce8c4 (patch) | |
tree | 5a23985442da5cf2d2a47b9c0ddc9bcbc7b9fb85 /python/extract.py | |
parent | dbd4279a80fa72ed2b6cc0f2646a381007fd2180 (diff) |
* patch from Rob Taylor <robtaylor@fastmail.fm>
- wrap bus_get_unix_user method in low level bindings
- add get_unix_user method to the Bus class
- fix extract.py so it can handle unsigned long return types
Diffstat (limited to 'python/extract.py')
-rw-r--r-- | python/extract.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/python/extract.py b/python/extract.py index 460af5ab..f836edc7 100644 --- a/python/extract.py +++ b/python/extract.py @@ -108,7 +108,7 @@ def find_typedefs(buf): return typedefs proto_pat = re.compile(r""" -(?P<ret>(-|\w|\&|\*)+\s*) # return type +(?P<ret>(-|\w|\&|\*|\s)+\s*) # return type \s+ # skip whitespace (?P<func>\w+)\s*[(] # match the function name until the opening ( (?P<args>.*?)[)] # group the function arguments @@ -123,7 +123,6 @@ def find_functions(buf): for p in buf: if len(p) == 0: continue - m = proto_pat.match(p) if m == None: continue |