bracket HAVE_PYTHON

This commit is contained in:
David Rose 2004-08-24 00:23:38 +00:00
parent 215d97d75f
commit aa5d035340

View File

@ -459,6 +459,7 @@ direct_update(PyObject *distobj, const string &field_name,
}
#endif // HAVE_PYTHON
#ifdef HAVE_PYTHON
////////////////////////////////////////////////////////////////////
// Function: DCClass::pack_required_field
// Access: Published
@ -486,6 +487,7 @@ pack_required_field(Datagram &datagram, PyObject *distobj,
datagram.append_data(packer.get_data(), packer.get_length());
return true;
}
#endif // HAVE_PYTHON
#ifdef HAVE_PYTHON
////////////////////////////////////////////////////////////////////