]> git.cworth.org Git - apitrace/blobdiff - trace.py
Word wrap the surfaces description.
[apitrace] / trace.py
index 1a29a4a84417523611651fc6764b7bc8b7362761..7076c9ffa4a032f005ebd590b712fc7645a3dd94 100644 (file)
--- a/trace.py
+++ b/trace.py
@@ -90,7 +90,7 @@ class DumpDeclarator(stdapi.OnceVisitor):
         print '        Trace::LiteralSInt(value);'
         print '        return;'
         print '    }'
-        print '        Trace::LiteralEnum(sig);'
+        print '    Trace::LiteralEnum(sig);'
         print '}'
         print
 
@@ -469,7 +469,8 @@ __getPublicProcAddress(LPCSTR lpProcName)
     return GetProcAddress(g_hDll, lpProcName);
 }
 
-    ''' % self.dllname
+#define __abort() OS::Abort()
+''' % self.dllname
 
         dispatcher = Dispatcher()
         dispatcher.dispatch_api(api)