mirror of
https://github.com/Z3Prover/z3
synced 2025-04-16 05:48:44 +00:00
fixed python compatibility issues
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
d909852e99
commit
9a04ab11a7
|
@ -1114,7 +1114,7 @@ def mk_z3consts_donet(api_files):
|
||||||
|
|
||||||
dotnet = get_component(DOTNET_COMPONENT)
|
dotnet = get_component(DOTNET_COMPONENT)
|
||||||
|
|
||||||
DeprecatedEnums = { 'Z3_search_failure' }
|
DeprecatedEnums = [ 'Z3_search_failure' ]
|
||||||
z3consts = open('%s/Enumerations.cs' % dotnet.src_dir, 'w')
|
z3consts = open('%s/Enumerations.cs' % dotnet.src_dir, 'w')
|
||||||
z3consts.write('// Automatically generated file\n\n')
|
z3consts.write('// Automatically generated file\n\n')
|
||||||
z3consts.write('using System;\n\n'
|
z3consts.write('using System;\n\n'
|
||||||
|
|
|
@ -335,7 +335,7 @@ def mk_dotnet():
|
||||||
dotnet.write(' }\n')
|
dotnet.write(' }\n')
|
||||||
|
|
||||||
|
|
||||||
DotnetUnwrapped = { 'Z3_del_context' }
|
DotnetUnwrapped = [ 'Z3_del_context' ]
|
||||||
|
|
||||||
def mk_dotnet_wrappers():
|
def mk_dotnet_wrappers():
|
||||||
global Type2Str
|
global Type2Str
|
||||||
|
|
Loading…
Reference in a new issue