]> git.cworth.org Git - apitrace/blobdiff - retrace.py
Deep copy the blob data.
[apitrace] / retrace.py
index c4750d4e6f24f261cbb05b30dd2913a4de4a3156..724f5220bee23dd65b8d8008ac886e92dda43fb4 100644 (file)
@@ -26,8 +26,8 @@
 
 """Generic retracing code generator."""
 
-import stdapi
-import glapi
+import specs.stdapi as stdapi
+import specs.glapi as glapi
 from codegen import *
 
 
@@ -234,6 +234,9 @@ class Retracer:
 
     def extract_arg(self, function, arg, arg_type, lvalue, rvalue):
         ValueExtractor().visit(arg_type, lvalue, rvalue)
+    
+    def extract_opaque_arg(self, function, arg, arg_type, lvalue, rvalue):
+        OpaqueValueExtractor().visit(arg_type, lvalue, rvalue)
 
     def call_function(self, function):
         arg_names = ", ".join([arg.name for arg in function.args])