X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=retrace%2Fretrace.py;h=51da6fec24ff2ec78beeb280fd3f591b9a62178e;hb=84cea3b6f23efbd60bf57a642459e402247f8902;hp=9828cfbaa831d20c242bc2da89cf7f2d33c7d79d;hpb=3a259b8ee79fcd00c14b379354757e40e04db893;p=apitrace diff --git a/retrace/retrace.py b/retrace/retrace.py index 9828cfb..51da6fe 100644 --- a/retrace/retrace.py +++ b/retrace/retrace.py @@ -486,20 +486,21 @@ class Retracer: functions = filter(self.filterFunction, api.functions) for function in functions: - if function.sideeffects: + if function.sideeffects and not function.internal: self.retraceFunction(function) interfaces = api.getAllInterfaces() for interface in interfaces: for method in interface.iterMethods(): - if method.sideeffects: + if method.sideeffects and not method.internal: self.retraceInterfaceMethod(interface, method) print 'const retrace::Entry %s[] = {' % self.table_name for function in functions: - if function.sideeffects: - print ' {"%s", &retrace_%s},' % (function.name, function.name) - else: - print ' {"%s", &retrace::ignore},' % (function.name,) + if not function.internal: + if function.sideeffects: + print ' {"%s", &retrace_%s},' % (function.name, function.name) + else: + print ' {"%s", &retrace::ignore},' % (function.name,) for interface in interfaces: for method in interface.iterMethods(): if method.sideeffects: