}
static int
-_get_name(PyObject *obj, const char **pname)
+_get_name(PyObject *obj, void *arg)
{
+ const char **pname = (const char **)arg;
#ifdef MS_WIN32
if (PyLong_Check(obj)) {
/* We have to use MAKEINTRESOURCEA for Windows CE.
}
static int
-_parse_voidp(PyObject *obj, void **address)
+_parse_voidp(PyObject *obj, void *arg)
{
+ void **address = (void **)arg;
*address = PyLong_AsVoidPtr(obj);
if (*address == NULL)
return 0;
}
static int
-converter(PyObject *obj, void **address)
+converter(PyObject *obj, void *arg)
{
+ void **address = (void **)arg;
*address = PyLong_AsVoidPtr(obj);
return *address != NULL;
}
}
static PyObject *
-PyCField_get(PyObject *op, PyObject *inst, PyTypeObject *type)
+PyCField_get(PyObject *op, PyObject *inst, PyObject *type)
{
CDataObject *src;
CFieldObject *self = _CFieldObject_CAST(op);