]> git.cworth.org Git - apitrace/blobdiff - glapi.py
Plugging some memory leaks
[apitrace] / glapi.py
index 3f2aebec5e94fd3ee74eae4b083fe0759e31d486..c1b48522854b6001cea5498a72843aac46001156 100644 (file)
--- a/glapi.py
+++ b/glapi.py
@@ -2304,4 +2304,7 @@ glapi.add_functions([
 ])
 
 
+# memcpy's prototype.  We don't really want to trace all memcpy calls -- just
+# emit a few fake memcpy calls --, which is why the prototype is not together
+# with the rest.
 memcpy = Function(Void, "memcpy", [(GLmap, "dest"), (Blob(Const(Void), "n"), "src"), (SizeT, "n")])