};
typedef struct _isl_constraint_list _isl_constraint_list;
-int _isl_isl_basic_set_add_constraint_list(__isl_take isl_constraint *c,
+static int _isl_isl_basic_set_add_constraint_list(__isl_take isl_constraint *c,
void *user) {
_isl_constraint_list *list;
PyObject *value;
if (value == NULL) {
return -1;
}
- return PyList_SetItem(list->constraints, list->cursor++, value);
+ PyList_SET_ITEM(list->constraints, list->cursor++, value);
+ return 0;
}
static PyObject * _isl_isl_basic_set_constraints(PyObject *self,