From f06f148871c42ca76c7f7471ca7d0acb66fce8c4 Mon Sep 17 00:00:00 2001 From: "John (J5) Palmieri" Date: Thu, 23 Dec 2004 00:50:37 +0000 Subject: * patch from Rob Taylor - 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 --- python/extract.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'python/extract.py') 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(-|\w|\&|\*)+\s*) # return type +(?P(-|\w|\&|\*|\s)+\s*) # return type \s+ # skip whitespace (?P\w+)\s*[(] # match the function name until the opening ( (?P.*?)[)] # 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 -- cgit