typedef void *PyObject; int PyMapping_SetItemString(o, key, value) PyObject *o; char *key; PyObject *value; { PyObject *okey; int r; if( ! key) return Py_ReturnNullError(),-1; if (!(okey=PyString_FromString(key))) return -1; r = PyObject_SetItem(o,okey,value); if (--( okey )->ob_refcnt != 0) ; else (*( okey )->ob_type->tp_dealloc)((PyObject *)( okey )) ; // (1)request for member ‘ob_refcnt’ in something not a structure or union / (2)request for member ‘ob_type’ in something not a structure or union // ^(1) ^(2) return r; }