]> git.cworth.org Git - apitrace/blobdiff - wrappers/gltrace.py
specs: Allow an API to spread across multiple modules.
[apitrace] / wrappers / gltrace.py
index feb96e44276842d515efd79b254946708ad74c6f..3e01e40eb72010e9fae5887509514d3762e0a91e 100644 (file)
@@ -337,7 +337,7 @@ class GlTracer(Tracer):
             print '    if (!procPtr) {'
             print '        return procPtr;'
             print '    }'
-            for function in api.functions:
+            for function in api.getAllFunctions():
                 ptype = function_pointer_type(function)
                 pvalue = function_pointer_value(function)
                 print '    if (strcmp("%s", (const char *)procName) == 0) {' % function.name