Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions docs/dotnet_interface.md
Original file line number Diff line number Diff line change
Expand Up @@ -367,10 +367,6 @@ public void sample()
throw new InvalidOperationException(error);
}

if (!(int)ctx.SolveBoard(deal, -1, 1, 0, out FutureTricks fut))
throw new InvalidOperationException("DDS_Core failed to solve the board.");


...

var ddTableDeal = new() {Cards = hands };
Expand Down
4 changes: 1 addition & 3 deletions dotnet/DDS_Core/DDS.cs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,6 @@ public int SolveAllBoards( in BoardsPBN boards
, out SolvedBoards solved)
{
solved = default;
//Note: To step into c++ code you must set a break in c++?
var rc = DdsNative.SolveAllBoards( boards
, out solved);

Expand All @@ -189,7 +188,6 @@ public int SolveAllBoards( in Boards bop
{
solved = default;

//Note: To step into c++ code you must set a break in c++?
var rc = DdsNative.SolveAllBoardsBin( bop
, out solved);
Comment thread
tameware marked this conversation as resolved.

Expand Down Expand Up @@ -638,4 +636,4 @@ private static void ThrowIfError(in int result, in string functionName)
throw new InvalidOperationException($"{functionName} failed with code {result}: {result.GetRCErrorMessage()}");
}
#endregion
}
}
Loading