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
@@ -51,7 +51,7 @@ CSFML_AUDIO_API sfSound* sfSound_create(void);
/// \return A new sfSound object which is a copy of \a sound
///
////////////////////////////////////////////////////////////
CSFML_AUDIO_API sfSound* sfSound_copy(sfSound* sound);
CSFML_AUDIO_API sfSound* sfSound_copy(const sfSound* sound);
////////////////////////////////////////////////////////////
/// \brief Destroy a sound
+1 -1
View File
@@ -102,7 +102,7 @@ CSFML_AUDIO_API sfSoundBuffer* sfSoundBuffer_createFromSamples(const sfInt16* sa
/// \return A new sfSoundBuffer object which is a copy of \a soundBuffer
///
////////////////////////////////////////////////////////////
CSFML_AUDIO_API sfSoundBuffer* sfSoundBuffer_copy(sfSoundBuffer* soundBuffer);
CSFML_AUDIO_API sfSoundBuffer* sfSoundBuffer_copy(const sfSoundBuffer* soundBuffer);
////////////////////////////////////////////////////////////
/// \brief Destroy a sound buffer