mirror of
https://github.com/Z3Prover/z3
synced 2025-06-05 21:53:23 +00:00
add char sort to .net
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
1b648437b7
commit
97a035fd6d
3 changed files with 59 additions and 3 deletions
35
src/api/dotnet/CharSort.cs
Normal file
35
src/api/dotnet/CharSort.cs
Normal file
|
@ -0,0 +1,35 @@
|
|||
/*++
|
||||
Copyright (c) 2016 Microsoft Corporation
|
||||
|
||||
Module Name:
|
||||
|
||||
CharSort.cs
|
||||
|
||||
Abstract:
|
||||
|
||||
Z3 Managed API: Character Sorts
|
||||
|
||||
Author:
|
||||
|
||||
Christoph Wintersteiger (cwinter) 2012-11-23
|
||||
|
||||
Notes:
|
||||
|
||||
--*/
|
||||
|
||||
using System.Diagnostics;
|
||||
using System;
|
||||
|
||||
namespace Microsoft.Z3
|
||||
{
|
||||
/// <summary>
|
||||
/// A Character sort
|
||||
/// </summary>
|
||||
public class CharSort : Sort
|
||||
{
|
||||
#region Internal
|
||||
internal CharSort(Context ctx, IntPtr obj) : base(ctx, obj) { Debug.Assert(ctx != null); }
|
||||
internal CharSort(Context ctx) : base(ctx, Native.Z3_mk_char_sort(ctx.nCtx)) { Debug.Assert(ctx != null); }
|
||||
#endregion
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue