From 47279d60f3cbb68786a767aa9f3e7ebf3124568f Mon Sep 17 00:00:00 2001 From: Jon Ashburn Date: Tue, 13 Jan 2015 08:38:14 -0700 Subject: layers: Fix APIDump param generation for Cpp versus C Remanent from the merge of glave_integration. --- xgl-layer-generate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xgl-layer-generate.py b/xgl-layer-generate.py index a81ee447..3e2d825e 100755 --- a/xgl-layer-generate.py +++ b/xgl-layer-generate.py @@ -288,7 +288,7 @@ class Subcommand(object): param0_name = proto.params[0].name ret_val = '' stmt = '' - sp_param_dict = {} # Store 'index' func has struct param to print, or an name of binding "Count" param for array to print + cis_param_index = [] # Store 'index' func has struct param to print, or an name of binding "Count" param for array to print create_params = 0 # Num of params at end of function that are created and returned as output values if 'WsiX11CreatePresentableImage' in proto.name: create_params = -2 @@ -399,7 +399,7 @@ class Subcommand(object): param0_name = proto.params[0].name ret_val = '' stmt = '' - cis_param_index = [] # Store list of indices when func has struct params + sp_param_dict = {} # Store list of indices when func has struct params create_params = 0 # Num of params at end of function that are created and returned as output values if 'WsiX11CreatePresentableImage' in proto.name: create_params = -2 -- cgit v1.2.3