+static int _append_vertex_to_list(isl_vertex *vertex, void* user) {
+ return _append_pointer_to_list((void *) vertex, user);
+}
+
+static PyObject * isl_vertices_vertices(PyObject *self, PyObject *args) {
+ long pointer;
+ isl_vertices *vertices;
+ PyObject *list;
+ if (!PyArg_ParseTuple(args, "l", &pointer)) {
+ return NULL;
+ }
+ vertices = (isl_vertices *) pointer;
+ list = PyList_New(0);
+ if (list == NULL) {
+ return NULL;
+ }
+ if (isl_vertices_foreach_vertex(vertices, _append_vertex_to_list, list) == -1) {
+ PyErr_SetString(PyExc_RuntimeError,
+ "an error occurred in isl_vertices_foreach_vertex");
+ Py_DECREF(list);
+ return NULL;
+ }
+ return list;
+}
+