Adding a python API for mustHaveValue abstraction
authorHamed Gorjiara <hgorjiar@uci.edu>
Wed, 1 Aug 2018 00:27:10 +0000 (17:27 -0700)
committerHamed Gorjiara <hgorjiar@uci.edu>
Wed, 1 Aug 2018 00:27:10 +0000 (17:27 -0700)
src/pycsolver.py

index 680667467e011ecf876339931a2fee39a2e95dce..ba49d77b296ba1ebe22f23ac25f8f09ea23d725b 100644 (file)
@@ -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]