return Py_nsISupports::PyObjectFromInterface(cm, NS_GET_IID(nsIComponentManager), PR_TRUE, PR_FALSE);
return Py_nsISupports::PyObjectFromInterface(cm, NS_GET_IID(nsIComponentManagerObsolete), PR_TRUE, PR_FALSE);
PyXPCOMMethod_NS_GetGlobalComponentManager(PyObject *self, PyObject *args){	if (!PyArg_ParseTuple(args, ""))		return NULL;	nsIComponentManager* cm;	nsresult rv;	Py_BEGIN_ALLOW_THREADS;	rv = NS_GetGlobalComponentManager(&cm);	Py_END_ALLOW_THREADS;	if ( NS_FAILED(rv) )		return PyXPCOM_BuildPyException(rv);	// NOTE - NS_GetGlobalComponentManager DOES NOT ADD A REFCOUNT	// (naughty, naughty) - we we explicitly ask our converter to	// add one, even tho this is not the common pattern.	// Return a type based on the IID	// Can not auto-wrap the interface info manager as it is critical to	// building the support we need for autowrap.	return Py_nsISupports::PyObjectFromInterface(cm, NS_GET_IID(nsIComponentManager), PR_TRUE, PR_FALSE);}