From f8ec7f6cb19c4cc27398bdc0482b531e601d4291 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 10 Aug 2011 15:15:18 +0200 Subject: pytalloc: Use consistent prefix for functions, add ABI file. --- source4/auth/pyauth.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source4/auth/pyauth.c') diff --git a/source4/auth/pyauth.c b/source4/auth/pyauth.c index 2f83be95c7..08ce9d3f7f 100644 --- a/source4/auth/pyauth.c +++ b/source4/auth/pyauth.c @@ -207,7 +207,7 @@ static const char **PyList_AsStringList(TALLOC_CTX *mem_ctx, PyObject *list, static PyObject *PyAuthContext_FromContext(struct auth4_context *auth_context) { - return py_talloc_reference(&PyAuthContext, auth_context); + return pytalloc_reference(&PyAuthContext, auth_context); } static PyObject *py_auth_context_new(PyTypeObject *type, PyObject *args, PyObject *kwargs) @@ -252,7 +252,7 @@ static PyObject *py_auth_context_new(PyTypeObject *type, PyObject *args, PyObjec } if (py_imessaging_ctx != Py_None) { - imessaging_context = py_talloc_get_type(py_imessaging_ctx, struct imessaging_context); + imessaging_context = pytalloc_get_type(py_imessaging_ctx, struct imessaging_context); } if (py_methods == Py_None && py_ldb == Py_None) { @@ -298,7 +298,7 @@ static PyObject *py_auth_context_new(PyTypeObject *type, PyObject *args, PyObjec static PyTypeObject PyAuthContext = { .tp_name = "AuthContext", - .tp_basicsize = sizeof(py_talloc_Object), + .tp_basicsize = sizeof(pytalloc_Object), .tp_flags = Py_TPFLAGS_DEFAULT, .tp_new = py_auth_context_new, }; @@ -314,7 +314,7 @@ void initauth(void) { PyObject *m; - PyAuthContext.tp_base = PyTalloc_GetObjectType(); + PyAuthContext.tp_base = pytalloc_GetObjectType(); if (PyAuthContext.tp_base == NULL) return; -- cgit