From: José Fonseca Date: Sun, 15 May 2011 11:49:30 +0000 (+0100) Subject: Remove dead code. X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=ec299a807d097ace8dcca9db53f378ef7fe6858f;p=apitrace Remove dead code. --- diff --git a/glxtrace.py b/glxtrace.py index be7a8ca..b3c1b4f 100644 --- a/glxtrace.py +++ b/glxtrace.py @@ -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) diff --git a/trace.py b/trace.py index 9f115a3..6d8432b 100644 --- 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; diff --git a/wgltrace.py b/wgltrace.py index f1377ca..028580d 100644 --- a/wgltrace.py +++ b/wgltrace.py @@ -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)