projects
/
satune.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
555df54
)
Adding a python API for mustHaveValue abstraction
author
Hamed Gorjiara
<hgorjiar@uci.edu>
Wed, 1 Aug 2018 00:27:10 +0000
(17:27 -0700)
committer
Hamed Gorjiara
<hgorjiar@uci.edu>
Wed, 1 Aug 2018 00:27:10 +0000
(17:27 -0700)
src/pycsolver.py
patch
|
blob
|
history
diff --git
a/src/pycsolver.py
b/src/pycsolver.py
index 680667467e011ecf876339931a2fee39a2e95dce..ba49d77b296ba1ebe22f23ac25f8f09ea23d725b 100644
(file)
--- a/
src/pycsolver.py
+++ b/
src/pycsolver.py
@@
-99,6
+99,8
@@
def loadCSolver():
csolverlb.orderConstraint.restype = c_void_p
csolverlb.solve.argtypes = [c_void_p]
csolverlb.solve.restype = c_int
+ csolverlb.mustHaveValue.argtypes = [c_void_p, c_void_p]
+ csolverlb.mustHaveValue.restype = c_void_p
csolverlb.getElementValue.argtypes = [c_void_p, c_void_p]
csolverlb.getElementValue.restype = c_long
csolverlb.getBooleanValue.argtypes = [c_void_p, c_void_p]