From: José Fonseca Date: Thu, 10 Jul 2008 00:19:44 +0000 (+0900) Subject: Treat all pointers consistently. X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=fe32548533865af1c4c1d973bee24ad0a2fd4456;p=apitrace Treat all pointers consistently. --- diff --git a/base.py b/base.py index 8d733f3..37521b8 100644 --- a/base.py +++ b/base.py @@ -300,7 +300,8 @@ class Interface(Type): result = 'result = ' print ' Log::BeginCall("%s");' % (self.name + '::' + method.name) print ' Log::BeginArg("%s *", "this");' % self.name - print ' Log::TextF("%p", m_pInstance);' + print ' Log::BeginReference("%s", m_pInstance);' % self.name + print ' Log::EndReference();' print ' Log::EndArg();' for type, name in method.args: if not type.isoutput():