rename and negate DISABLE_PYTHON --> WITH_PYTHON

This commit is contained in:
2010-10-31 04:11:39 +00:00
parent 50dab4fc37
commit 0876fce009
217 changed files with 477 additions and 505 deletions

View File

@@ -322,7 +322,7 @@ void CIntValue::SetValue(CValue* newval)
}
#ifndef DISABLE_PYTHON
#ifdef WITH_PYTHON
PyObject* CIntValue::ConvertValueToPython()
{
if((m_int > INT_MIN) && (m_int < INT_MAX))
@@ -330,4 +330,4 @@ PyObject* CIntValue::ConvertValueToPython()
else
return PyLong_FromLongLong(m_int);
}
#endif // DISABLE_PYTHON
#endif // WITH_PYTHON