diff SDL_sound_internal.h @ 387:fb519e6028e3

Changed all the Sound_SetError() calls to __Sound_SetError (or BAIL*_MACRO)
author Ryan C. Gordon <icculus@icculus.org>
date Fri, 05 Jul 2002 23:11:51 +0000
parents cbb15ecf423a
children c42ac9ee2ce4
line wrap: on
line diff
--- a/SDL_sound_internal.h	Fri Jul 05 22:34:55 2002 +0000
+++ b/SDL_sound_internal.h	Fri Jul 05 23:11:51 2002 +0000
@@ -163,13 +163,13 @@
          *      sample->flags |= SOUND_SAMPLEFLAG_EOF;
          *
          *   If there's an unrecoverable error, then do:
-         *      Sound_SetError(ERR_EXPLAIN_WHAT_WENT_WRONG);
+         *      __Sound_SetError(ERR_EXPLAIN_WHAT_WENT_WRONG);
          *      sample->flags |= SOUND_SAMPLEFLAG_ERROR;
          *
          *   If there's more data, but you'd have to block for considerable
          *    amounts of time to get at it, or there's a recoverable error,
          *    then do:
-         *      Sound_SetError(ERR_EXPLAIN_WHAT_WENT_WRONG);
+         *      __Sound_SetError(ERR_EXPLAIN_WHAT_WENT_WRONG);
          *      sample->flags |= SOUND_SAMPLEFLAG_EAGAIN;
          *
          * SDL_sound will not call your read() method for any samples with
@@ -273,9 +273,6 @@
  */
 void __Sound_SetError(const char *err);
 
-/* !!! FIXME: Clean up elsewhere and get rid of this. */
-#define Sound_SetError __Sound_SetError
-
 /*
  * Call this to convert milliseconds to an actual byte position, based on
  *  audio data characteristics.