Remove dead code.
authorJosé Fonseca <jose.r.fonseca@gmail.com>
Sun, 15 May 2011 11:49:30 +0000 (12:49 +0100)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Sun, 15 May 2011 11:49:30 +0000 (12:49 +0100)
glxtrace.py
trace.py
wgltrace.py

index be7a8ca..b3c1b4f 100644 (file)
@@ -41,9 +41,6 @@ class GlxTracer(GlTracer):
         # The symbols visible in libGL.so can vary, so expose them all
         return True
 
-    def get_function_address(self, function):
-        return '__%s' % (function.name,)
-
     def wrap_ret(self, function, instance):
         GlTracer.wrap_ret(self, function, instance)
 
index 9f115a3..6d8432b 100644 (file)
--- a/trace.py
+++ b/trace.py
@@ -444,9 +444,6 @@ class DllTracer(Tracer):
     def __init__(self, dllname):
         self.dllname = dllname
     
-    def get_function_address(self, function):
-        return '__%s' % (function.name,)
-
     def header(self, api):
         print '''
 static HINSTANCE g_hDll = NULL;
index f1377ca..028580d 100644 (file)
@@ -37,9 +37,6 @@ from codegen import *
 
 class WglTracer(GlTracer):
 
-    def get_function_address(self, function):
-        return '__%s' % (function.name,)
-
     def wrap_ret(self, function, instance):
         GlTracer.wrap_ret(self, function, instance)