From ec299a807d097ace8dcca9db53f378ef7fe6858f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Sun, 15 May 2011 12:49:30 +0100 Subject: [PATCH] Remove dead code. --- glxtrace.py | 3 --- trace.py | 3 --- wgltrace.py | 3 --- 3 files changed, 9 deletions(-) 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) -- 2.45.2