summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dll-test.py8
-rw-r--r--libbcalcdds.dllbin0 -> 254478 bytes
-rw-r--r--libbcalcdds.sobin0 -> 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
new file mode 100644
index 0000000..9c89b67
--- /dev/null
+++ b/libbcalcdds.dll
Binary files differ
diff --git a/libbcalcdds.so b/libbcalcdds.so
new file mode 100644
index 0000000..182a985
--- /dev/null
+++ b/libbcalcdds.so
Binary files differ