mirror of
https://github.com/Z3Prover/z3
synced 2025-06-19 12:23:38 +00:00
pinned semantics
This commit is contained in:
parent
9836d5e6fc
commit
820c782b5e
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ namespace Microsoft.Z3
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public UserPropagator(Solver s)
|
public UserPropagator(Solver s)
|
||||||
{
|
{
|
||||||
gch = GCHandle.Alloc(this);
|
gch = GCHandle.Alloc(this, GCHandleType.Pinned);
|
||||||
solver = s;
|
solver = s;
|
||||||
ctx = solver.Context;
|
ctx = solver.Context;
|
||||||
var cb = GCHandle.ToIntPtr(gch);
|
var cb = GCHandle.ToIntPtr(gch);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue