From: José Fonseca Date: Fri, 22 Feb 2013 10:23:51 +0000 (+0000) Subject: trace: Unwrap all args before serializing them. X-Git-Url: https://git.cworth.org/git?p=apitrace;a=commitdiff_plain;h=48c661ea6c0f2bd9b76a3385cd946b7d07bc9b5f trace: Unwrap all args before serializing them. --- diff --git a/wrappers/trace.py b/wrappers/trace.py index 8ff2b91..61a2cb9 100644 --- a/wrappers/trace.py +++ b/wrappers/trace.py @@ -493,6 +493,8 @@ class Tracer: for arg in function.args: if not arg.output: self.unwrapArg(function, arg) + for arg in function.args: + if not arg.output: self.serializeArg(function, arg) print ' trace::localWriter.endEnter();' self.invokeFunction(function) @@ -694,6 +696,8 @@ class Tracer: for arg in method.args: if not arg.output: self.unwrapArg(method, arg) + for arg in method.args: + if not arg.output: self.serializeArg(method, arg) print ' trace::localWriter.endEnter();'