]> git.cworth.org Git - apitrace/blobdiff - trace.py
Add API::getAllInterfaces helper method.
[apitrace] / trace.py
index ec91d7ef2f81b8d3b06ed36f442246f8d942ee32..0d973a21082bcd1989feeb9b39ad969c1a7a09bc 100644 (file)
--- a/trace.py
+++ b/trace.py
@@ -327,7 +327,7 @@ class Tracer:
         print
 
         # Interfaces wrapers
-        interfaces = [type for type in types if isinstance(type, stdapi.Interface)]
+        interfaces = api.getAllInterfaces()
         map(self.declareWrapperInterface, interfaces)
         map(self.implementWrapperInterface, interfaces)
         print