3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-29 20:05:51 +00:00

Managed API: Refactoring and formatting.

Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
This commit is contained in:
Christoph M. Wintersteiger 2012-11-23 18:30:51 +00:00
parent edc9dccbcf
commit 7defd469bb
52 changed files with 2006 additions and 1657 deletions

View file

@ -86,8 +86,18 @@ namespace Microsoft.Z3
readonly private bool m_is_double = false;
readonly private uint m_uint = 0;
readonly private double m_double = 0.0;
internal Entry(string k, uint v) { Key = k; m_is_uint = true; m_uint = v; }
internal Entry(string k, double v) { Key = k; m_is_double = true; m_double = v; }
internal Entry(string k, uint v)
{
Key = k;
m_is_uint = true;
m_uint = v;
}
internal Entry(string k, double v)
{
Key = k;
m_is_double = true;
m_double = v;
}
#endregion
}
@ -177,7 +187,7 @@ namespace Microsoft.Z3
Contract.Requires(ctx != null);
}
internal class DecRefQueue : Z3.DecRefQueue
internal class DecRefQueue : IDecRefQueue
{
public override void IncRef(Context ctx, IntPtr obj)
{