]> git.cworth.org Git - apitrace/blobdiff - retrace/d3d9retrace.py
specs: Allow an API to spread across multiple modules.
[apitrace] / retrace / d3d9retrace.py
index 7030f868f17b3a98a27d0e3048f7077f412f640c..c175705e2dd036f21b4903cb672856dca29e5945 100644 (file)
@@ -34,14 +34,14 @@ from specs.d3d9 import *
 
 class D3DRetracer(Retracer):
 
-    def retraceApi(self, api):
+    def retraceModule(self, api):
         print '// Swizzling mapping for lock addresses'
         print 'static std::map<void *, void *> _locks;'
         print
 
         self.table_name = 'd3dretrace::d3d_callbacks'
 
-        Retracer.retraceApi(self, api)
+        Retracer.retraceModule(self, api)
 
     def invokeFunction(self, function):
         if function.name in ('Direct3DCreate9', 'Direct3DCreate9Ex'):
@@ -124,4 +124,4 @@ if __name__ == '__main__':
 '''
 
     retracer = D3DRetracer()
-    retracer.retraceApi(d3d9)
+    retracer.retraceModule(d3d9)