mirror of
https://github.com/Z3Prover/z3
synced 2025-04-06 17:44:08 +00:00
ML API: bugfix for native function with more than 5 parameters.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
This commit is contained in:
parent
b889b225a0
commit
c32e130487
|
@ -1211,9 +1211,11 @@ def mk_ml():
|
|||
ml_i.write(')')
|
||||
ml_native.write('\n')
|
||||
ml_i.write('\n')
|
||||
ml_native.write(' = "n_%s"\n' % ml_method_name(name))
|
||||
if len(ip) > 5:
|
||||
ml_native.write(' "n_%s_bytecode"\n' % ml_method_name(name))
|
||||
ml_native.write(' = "n_%s_bytecode"\n' % ml_method_name(name))
|
||||
ml_native.write(' "n_%s"\n' % ml_method_name(name))
|
||||
else:
|
||||
ml_native.write(' = "n_%s"\n' % ml_method_name(name))
|
||||
ml_native.write('\n')
|
||||
ml_native.write(' end\n\n')
|
||||
ml_i.write('\n(**/**)\n');
|
||||
|
|
Loading…
Reference in a new issue