Each module now has its own export macro

This commit is contained in:
Laurent Gomila committed 2012-02-02 22:02:39 +01:00
1 parent 7615382a68
commit 0c5afa3483
70 files changed
+1010 -719

No files matched your search

+5 -4
View File
@@ -193,7 +193,7 @@ void sfSound_GetPosition(const sfSound* sound, float* x, float* y, float* z)
////////////////////////////////////////////////////////////
CSFML_API sfBool sfSound_IsRelativeToListener(const sfSound* sound)
CSFML_AUDIO_API sfBool sfSound_IsRelativeToListener(const sfSound* sound)
{
CSFML_CALL_RETURN(sound, IsRelativeToListener(), sfFalse);
}
@@ -216,8 +216,9 @@ float sfSound_GetAttenuation(const sfSound* sound)
////////////////////////////////////////////////////////////
sfTime sfSound_GetPlayingOffset(const sfSound* sound)
{
CSFML_CHECK_RETURN(sound, sfTimeZero)
sfTime time = {0};
CSFML_CHECK_RETURN(sound, time);
sf::Time time = sound->This.GetPlayingOffset();
return sfMicroseconds(time.AsMicroseconds());
time.Microseconds = sound->This.GetPlayingOffset().AsMicroseconds();
return time;
}