]> git.cworth.org Git - apitrace/blobdiff - cgltrace.py
Cleanup/comment/format code.
[apitrace] / cgltrace.py
index e2e98745fe4808b2fa309d6a447bb27d973c76f1..0e40663560ff720c40b9ac72b64c239d34260061 100644 (file)
@@ -35,7 +35,7 @@ from gltrace import GlTracer
 
 class CglTracer(GlTracer):
 
-    def is_public_function(self, function):
+    def isFunctionPublic(self, function):
         # The symbols visible in libGL.dylib can vary, so expose them all
         return True
 
@@ -55,8 +55,8 @@ if __name__ == '__main__':
     print
 
     api = API()
-    api.add_api(cglapi)
-    api.add_api(glapi)
+    api.addApi(cglapi)
+    api.addApi(glapi)
     tracer = CglTracer()
     tracer.trace_api(api)