From 2b91ce71bb2bc8514552a716d49dc43666fe0bb7 Mon Sep 17 00:00:00 2001 From: wellenvogel Date: Sun, 21 Nov 2021 22:01:03 +0100 Subject: [PATCH] correct type mappings --- extra_script.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extra_script.py b/extra_script.py index 8dc3ab2..8d58014 100644 --- a/extra_script.py +++ b/extra_script.py @@ -124,7 +124,7 @@ def generateXdrMappings(fp,oh,inFile=''): first=False else: oh.write(",\n") - oh.write(" new GwXDRTypeMapping(%d,%d,0) /*%s*/"%(cid,tc,cat)) + oh.write(" new GwXDRTypeMapping(%d,0,%d) /*%s*/"%(cid,tc,cat)) fields=item.get('fields') if fields is None: continue @@ -144,7 +144,7 @@ def generateXdrMappings(fp,oh,inFile=''): first=False else: oh.write(",\n") - oh.write(" new GwXDRTypeMapping(%d,%d,%d) /*%s:%s*/"%(cid,tc,id,cat,l)) + oh.write(" new GwXDRTypeMapping(%d,%d,%d) /*%s:%s*/"%(cid,id,tc,cat,l)) oh.write("\n") oh.write("};\n")