mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable
This commit is contained in:
commit
39e6453f4a
31 changed files with 272 additions and 749 deletions
|
@ -34,6 +34,6 @@ using System.Security.Permissions;
|
|||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("4.2.0.0")]
|
||||
[assembly: AssemblyVersion("4.3.1.0")]
|
||||
[assembly: AssemblyFileVersion("4.3.1.0")]
|
||||
[assembly: AssemblyVersion("4.3.2.0")]
|
||||
[assembly: AssemblyFileVersion("4.3.2.0")]
|
||||
|
||||
|
|
|
@ -49,6 +49,22 @@ def enable_trace(msg):
|
|||
def disable_trace(msg):
|
||||
Z3_disable_trace(msg)
|
||||
|
||||
def get_version_string():
|
||||
major = ctypes.c_uint(0)
|
||||
minor = ctypes.c_uint(0)
|
||||
build = ctypes.c_uint(0)
|
||||
rev = ctypes.c_uint(0)
|
||||
Z3_get_version(major, minor, build, rev)
|
||||
return "%s.%s.%s" % (major.value, minor.value, build.value)
|
||||
|
||||
def get_version():
|
||||
major = ctypes.c_uint(0)
|
||||
minor = ctypes.c_uint(0)
|
||||
build = ctypes.c_uint(0)
|
||||
rev = ctypes.c_uint(0)
|
||||
Z3_get_version(major, minor, build, rev)
|
||||
return (major.value, minor.value, build.value, rev.value)
|
||||
|
||||
# We use _z3_assert instead of the assert command because we want to
|
||||
# produce nice error messages in Z3Py at rise4fun.com
|
||||
def _z3_assert(cond, msg):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue