s4:lib/tevent: rename structs
[sfrench/samba-autobuild/.git] / lib / tevent / pytevent.c
index 54f679984523b28608a3e557b332ec901ae42df8..a969373738c71ac065d34c1553c63daf4363e6a4 100644 (file)
@@ -23,7 +23,7 @@
 
 typedef struct {
        PyObject_HEAD
-       struct event_context *ev_ctx;
+       struct tevent_context *ev_ctx;
 } PyEventContextObject;
 
 PyAPI_DATA(PyTypeObject) PyEventContext;
@@ -65,7 +65,7 @@ static PyObject *py_event_ctx_new(PyTypeObject *type, PyObject *args, PyObject *
 {
     const char *kwnames[] = { "name", NULL };
     char *name = NULL;
-    struct event_context *ev_ctx;
+    struct tevent_context *ev_ctx;
     PyEventContextObject *ret;
     if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|s", (char **)kwnames, &name))
         return NULL;