]> git.cworth.org Git - apitrace/blobdiff - specs/stdapi.py
Add Function.argNames() method.
[apitrace] / specs / stdapi.py
index b9d6c64f5c1d83c834e28b32f75fd893a2b0c7cc..35257a3571ffdacc71c86d666637f4393a4fff4c 100644 (file)
@@ -298,6 +298,9 @@ class Function:
         s += ")"
         return s
 
+    def argNames(self):
+        return [arg.name for arg in self.args]
+
 
 def StdFunction(*args, **kwargs):
     kwargs.setdefault('call', '__stdcall')