diff src/sound.h @ 616:4f1c7a4ac1e6

[xemacs-hg @ 2001-06-11 07:47:11 by martinb] Revert to doing type-checking in DFC_* macros
author martinb
date Mon, 11 Jun 2001 07:47:20 +0000
parents 190b164ddcac
children af57a77cbc92
line wrap: on
line diff
--- a/src/sound.h	Mon Jun 11 04:44:52 2001 +0000
+++ b/src/sound.h	Mon Jun 11 07:47:20 2001 +0000
@@ -29,18 +29,18 @@
 void play_sound_file (Extbyte *name, int volume);
 int play_sound_data (UChar_Binary *data, int length, int volume);
 
-# define sound_perror(string)						 \
-do {									 \
-  Bufbyte *errmess;                                                     \
-  Bufbyte *string_int;                                                  \
-  /* #### fix this to GET_STRERROR in my mule ws */			 \
-  EXTERNAL_TO_C_STRING (strerror (errno), errmess, Qnative);		 \
-  EXTERNAL_TO_C_STRING (string, string_int, Qnative);			 \
-  warn_when_safe (Qsound, Qerror, "audio: %s, %s", string_int, errmess); \
+# define sound_perror(string)							\
+do {										\
+  CBufbyte *errmess;								\
+  CBufbyte *string_int;								\
+  /* #### fix this to GET_STRERROR in my mule ws */				\
+  EXTERNAL_TO_C_STRING (strerror (errno), errmess, Qnative);			\
+  EXTERNAL_TO_C_STRING (string, string_int, Qnative);				\
+  warn_when_safe (Qsound, Qerror, "audio: %s, %s", string_int, errmess);	\
 } while (0)
 # define sound_warn(string)					\
 do {								\
-  Bufbyte *string_int;                                         \
+  CBufbyte *string_int;						\
   EXTERNAL_TO_C_STRING (GETTEXT (string), string_int, Qnative);	\
   warn_when_safe (Qsound, Qwarning, "audio: %s", string_int);	\
 } while (0)