return PyObject_FromXPTTypeDescriptor((const XPTTypeDescriptor *)&datumType);
return PyObject_FromXPTType(&datumType);
static PyObject *PyGetTypeForParam(PyObject *self, PyObject *args){	nsIInterfaceInfo *pii = GetI(self);	if (pii==NULL)		return NULL;	PRUint16 mi, pi, dim;	if (!PyArg_ParseTuple(args, "hhh:GetTypeForParam", &mi, &pi, &dim))		return NULL;	const nsXPTMethodInfo *pmi;	if (!__GetMethodInfoHelper(pii, mi, pi, &pmi))		return NULL;        nsXPTType datumType;	const nsXPTParamInfo& param_info = pmi->GetParam((PRUint8)pi);	nsresult n = pii->GetTypeForParam(mi, &param_info, dim, &datumType);	if (NS_FAILED(n))		return PyXPCOM_BuildPyException(n);	return PyObject_FromXPTTypeDescriptor((const XPTTypeDescriptor *)&datumType);}