diff options
-rw-r--r-- | dll-test.py | 8 | ||||
-rw-r--r-- | libbcalcdds.dll | bin | 0 -> 254478 bytes | |||
-rw-r--r-- | libbcalcdds.so | bin | 0 -> 256490 bytes |
3 files changed, 8 insertions, 0 deletions
diff --git a/dll-test.py b/dll-test.py new file mode 100644 index 0000000..62b239c --- /dev/null +++ b/dll-test.py @@ -0,0 +1,8 @@ +from bcdd.BCalcWrapper import BCalcWrapper +from ctypes import * + +bc = BCalcWrapper() +solver = bc.new(b"PBN", b"N:.63.AKQ987.A9732 A8654.KQ5.T.QJT6 J973.J98742.3.K4 KQT2.AT.J6542.85", 0, 0) +print(solver) +print(c_char_p(bc.getLastError(solver))) +print(bc.getTricksToTake(solver)) diff --git a/libbcalcdds.dll b/libbcalcdds.dll Binary files differnew file mode 100644 index 0000000..9c89b67 --- /dev/null +++ b/libbcalcdds.dll diff --git a/libbcalcdds.so b/libbcalcdds.so Binary files differnew file mode 100644 index 0000000..182a985 --- /dev/null +++ b/libbcalcdds.so |