Skip to content

Commit fcd4005

Browse files
committed
Merge pull request #50 from dds-bridge/master
Exception-throwing flag
2 parents bde39c9 + 00dd8d6 commit fcd4005

File tree

8 files changed

+655
-510
lines changed

8 files changed

+655
-510
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@
77
*.def
88
src/[Mm]akefile
99
test/[Mm]akefile
10+
examples/[Mm]akefile
1011
test/dtest
1112
test/itest

ChangeLog

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
Release Notes DDS 2.8.2
2+
-----------------------
3+
Fixed bug in the calculation of par score contracts (par score
4+
values were OK) in certain rare cases.
5+
6+
Fixed a typo in in the CalcAllTables.cpp example in the examples
7+
directory.
8+
9+
110
Release Notes DDS 2.8.1
211
-----------------------
312
Added Makefile for shared library (.d) under Linux. Contributed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ DDS offers a wide range of functions, including par-score calculations.
66

77
Please refer to the [home page](http://privat.bahnhof.se/wb758135) for details.
88

9-
The current version is DDS 2.8.1 released in January 2015 and licensed under the Apache 2.0 license in the LICENSE FILE.
9+
The current version is DDS 2.8.2 released in June 2015 and licensed under the Apache 2.0 license in the LICENSE FILE.
1010

1111
Release notes are in the ChangeLog file.
1212

@@ -83,7 +83,7 @@ The DDS library interface is very well documented. You find the docs, including
8383

8484
Bugs
8585
====
86-
Version 2.8.1 has no known bugs.
86+
Version 2.8.2 has no known bugs.
8787

8888
Please report bugs to [email protected] and [email protected].
8989

examples/CalcAllTablesPBN.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ int main()
2424
ddTablesRes tableRes;
2525
allParResults pres;
2626

27-
int mode = 0: // No par calculation
27+
int mode = 0; // No par calculation
2828
int trumpFilter[DDS_STRAINS] = {0, 0, 0, 0, 0}; // All
2929
int res;
3030
char line[80];

include/dll.h

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
#define EXTERN_C
2727
#endif
2828

29-
/* Version 2.8.1. Allowing for 2 digit minor versions */
30-
#define DDS_VERSION 20801
29+
/* Version 2.8.2. Allowing for 2 digit minor versions */
30+
#define DDS_VERSION 20802
3131

3232

3333
#define DDS_HANDS 4
@@ -259,6 +259,13 @@ struct allParResults
259259

260260
struct parResultsDealer
261261
{
262+
/* number: Number of contracts yielding the par score.
263+
score: Par score for the specified dealer hand.
264+
contracts: Par contract text strings. The first contract
265+
is in contracts[0], the last one in contracts[number-1].
266+
The detailed text format is is given in the DLL interface
267+
document.
268+
*/
262269
int number;
263270
int score;
264271
char contracts[10][10];

0 commit comments

Comments
 (0)