From 93d7819010d0a13c8e772835adf28c3d8a55ccbd Mon Sep 17 00:00:00 2001 From: emkael Date: Tue, 10 Apr 2018 21:20:15 +0200 Subject: External libraries for testing purposes --- dll-test.py | 8 ++++++++ libbcalcdds.dll | Bin 0 -> 254478 bytes libbcalcdds.so | Bin 0 -> 256490 bytes 3 files changed, 8 insertions(+) create mode 100644 dll-test.py create mode 100644 libbcalcdds.dll create mode 100644 libbcalcdds.so 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 new file mode 100644 index 0000000..9c89b67 Binary files /dev/null and b/libbcalcdds.dll differ diff --git a/libbcalcdds.so b/libbcalcdds.so new file mode 100644 index 0000000..182a985 Binary files /dev/null and b/libbcalcdds.so differ -- cgit v1.2.3