]> git.cworth.org Git - apitrace/blobdiff - specs/stdapi.py
Use CString shorthand more places.
[apitrace] / specs / stdapi.py
index 57e9aa6eb1fcacda7aa77e976b6f1c06dbb9334c..b2bd904075b6ae4383326f1d830bad19cf933cd1 100644 (file)
@@ -332,7 +332,7 @@ class Function:
     # 0-3 are reserved to memcpy, malloc, free, and realloc
     __id = 4
 
-    def __init__(self, type, name, args, call = '', fail = None, sideeffects=True):
+    def __init__(self, type, name, args, call = '', fail = None, sideeffects=True, internal=False):
         self.id = Function.__id
         Function.__id += 1
 
@@ -356,6 +356,7 @@ class Function:
         self.call = call
         self.fail = fail
         self.sideeffects = sideeffects
+        self.internal = internal
 
     def prototype(self, name=None):
         if name is not None: