mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-26 21:16:13 +01:00
The Xxx_copy functions now take a const pointer
This commit is contained in:
1 parent
8c9f98f17e
commit
de75c6a122
32 files changed
+32
-32
No files matched your search
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user