mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
bracket HAVE_PYTHON
This commit is contained in:
parent
215d97d75f
commit
aa5d035340
@ -459,6 +459,7 @@ direct_update(PyObject *distobj, const string &field_name,
|
|||||||
}
|
}
|
||||||
#endif // HAVE_PYTHON
|
#endif // HAVE_PYTHON
|
||||||
|
|
||||||
|
#ifdef HAVE_PYTHON
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
// Function: DCClass::pack_required_field
|
// Function: DCClass::pack_required_field
|
||||||
// Access: Published
|
// Access: Published
|
||||||
@ -486,6 +487,7 @@ pack_required_field(Datagram &datagram, PyObject *distobj,
|
|||||||
datagram.append_data(packer.get_data(), packer.get_length());
|
datagram.append_data(packer.get_data(), packer.get_length());
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
#endif // HAVE_PYTHON
|
||||||
|
|
||||||
#ifdef HAVE_PYTHON
|
#ifdef HAVE_PYTHON
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
|
Loading…
x
Reference in New Issue
Block a user