The Xxx_copy functions now take a const pointer

This commit is contained in:
Laurent Gomila committed 2012-12-08 13:53:57 +01:00
1 parent 8c9f98f17e
commit de75c6a122
32 files changed
+32 -32

No files matched your search

+1 -1
View File
@@ -49,7 +49,7 @@ CSFML_NETWORK_API sfPacket* sfPacket_create(void);
/// \return A new sfPacket object which is a copy of \a packet
///
////////////////////////////////////////////////////////////
CSFML_NETWORK_API sfPacket* sfPacket_copy(sfPacket* packet);
CSFML_NETWORK_API sfPacket* sfPacket_copy(const sfPacket* packet);
////////////////////////////////////////////////////////////
/// \brief Destroy a packet