##########################################################################/
-from trace import DllTracer
+from dlltrace import DllTracer
from specs.dwrite import dwrite
from specs.d2d1 import d2d1 # cyclic dependency
class D2D1Tracer(DllTracer):
- def wrap_arg(self, function, arg):
+ def wrapArg(self, function, arg):
if function.name == 'D2D1CreateFactory' and arg.output:
print ' if (*%s) {' % arg.name
for iface in d2d1.interfaces:
print ' }'
print ' }'
- DllTracer.wrap_arg(self, function, arg)
+ DllTracer.wrapArg(self, function, arg)
if __name__ == '__main__':
print '#define INITGUID'
print
- print '#include "trace_writer.hpp"'
+ print '#include "trace_writer_local.hpp"'
print '#include "os.hpp"'
print
print '#include <windows.h>'