PyDict_SetItemString(result, "guildtitle", PyUnicode_FromUnicode(info->guildTitle().ucs2(), info->guildTitle().length()));
PyDict_SetItemString(result, "guildtitle", PyUnicode_FromUnicode((Py_UNICODE*)info->guildTitle().ucs2(), info->guildTitle().length()));
PyObject *wpGuild_getmemberinfo(wpGuild *self, PyObject *args) {	P_PLAYER player;	if (!PyArg_ParseTuple(args, "O&:guild.getmemberinfo(player)", PyConvertPlayer, &player)) {		return 0;	}	cGuild::MemberInfo *info = self->guild->getMemberInfo(player);	if (!info) {		PyErr_SetString(PyExc_RuntimeError, "The supplied character is not a member of this guild.");		return 0;	}    // Return a dictionary with two elements	PyObject *result = PyDict_New();	PyDict_SetItemString(result, "showsign", PyInt_FromLong(info->showSign() ? 1 : 0));	PyDict_SetItemString(result, "joined", PyInt_FromLong(info->joined()));		if (info->guildTitle().isNull()) {		PyDict_SetItemString(result, "guildtitle", PyUnicode_FromWideChar(L"", 0));			} else {		PyDict_SetItemString(result, "guildtitle", PyUnicode_FromUnicode(info->guildTitle().ucs2(), info->guildTitle().length()));			}	return result;}