nsIComponentManager *pI = GetI(self);
nsIComponentManagerObsolete *pI = GetI(self);
static PyObject *PyCLSIDToContractID(PyObject *self, PyObject *args){	PyObject *obIID;	if (!PyArg_ParseTuple(args, "O", &obIID))		return NULL;	nsIID iid;	if (!Py_nsIID::IIDFromPyObject(obIID, &iid))		return NULL;	char *ret_pid = nsnull;	char *ret_class = nsnull;	nsIComponentManager *pI = GetI(self);	if (pI==NULL)		return NULL;	nsresult r;	Py_BEGIN_ALLOW_THREADS;	r = pI->CLSIDToContractID(iid, &ret_class, &ret_pid);	Py_END_ALLOW_THREADS;	if ( NS_FAILED(r) )		return PyXPCOM_BuildPyException(r);	PyObject *ob_pid = PyString_FromString(ret_pid);	PyObject *ob_class = PyString_FromString(ret_class);	PyObject *ret = Py_BuildValue("OO", ob_pid, ob_class);	nsAllocator::Free(ret_pid);	nsAllocator::Free(ret_class);	Py_XDECREF(ob_pid);	Py_XDECREF(ob_class);	return ret;}