From: José Fonseca Date: Tue, 31 Jan 2012 10:48:58 +0000 (+0000) Subject: s/all_types/getAllTypes/ X-Git-Tag: 2.0_alpha^2~328 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4470382f4c6bf0498cfcf7ef54e95fec4908dbf0;p=tools%2Fapitrace.git s/all_types/getAllTypes/ --- diff --git a/retrace.py b/retrace.py index 0e28d18..25e2609 100644 --- a/retrace.py +++ b/retrace.py @@ -299,7 +299,7 @@ class Retracer: print '#include "retrace.hpp"' print - types = api.all_types() + types = api.getAllTypes() handles = [type for type in types if isinstance(type, stdapi.Handle)] handle_names = set() for handle in handles: diff --git a/specs/stdapi.py b/specs/stdapi.py index 44d4680..bb4b55b 100644 --- a/specs/stdapi.py +++ b/specs/stdapi.py @@ -644,7 +644,7 @@ class API: self.functions = [] self.interfaces = [] - def all_types(self): + def getAllTypes(self): collector = Collector() for function in self.functions: for arg in function.args: diff --git a/trace.py b/trace.py index 4d2f055..ec91d7e 100644 --- a/trace.py +++ b/trace.py @@ -321,7 +321,7 @@ class Tracer: print # Generate the serializer functions - types = api.all_types() + types = api.getAllTypes() visitor = ComplexValueSerializer(self.serializerFactory()) map(visitor.visit, types) print