]> git.cworth.org Git - apitrace/blobdiff - base.py
Try to cope with missing functions.
[apitrace] / base.py
diff --git a/base.py b/base.py
index 1632bc0d1c0c2a480ab6e53fcdeceacd6eeb3c1c..2678ab87614b05221689420e038490d53a67df40 100644 (file)
--- a/base.py
+++ b/base.py
@@ -224,11 +224,12 @@ class Alias(Type):
 
 class Function:
 
-    def __init__(self, type, name, args, call = '__stdcall'):
+    def __init__(self, type, name, args, call = '__stdcall', fail = None):
         self.type = type
         self.name = name
         self.args = args
         self.call = call
+        self.fail = fail
 
     def prototype(self, name=None):
         if name is not None: