Mercurial > hg > xemacs-beta
comparison 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 |
comparison
equal
deleted
inserted
replaced
615:4f50f8a33f96 | 616:4f1c7a4ac1e6 |
---|---|
27 | 27 |
28 /* Defined in *play.c */ | 28 /* Defined in *play.c */ |
29 void play_sound_file (Extbyte *name, int volume); | 29 void play_sound_file (Extbyte *name, int volume); |
30 int play_sound_data (UChar_Binary *data, int length, int volume); | 30 int play_sound_data (UChar_Binary *data, int length, int volume); |
31 | 31 |
32 # define sound_perror(string) \ | 32 # define sound_perror(string) \ |
33 do { \ | 33 do { \ |
34 Bufbyte *errmess; \ | 34 CBufbyte *errmess; \ |
35 Bufbyte *string_int; \ | 35 CBufbyte *string_int; \ |
36 /* #### fix this to GET_STRERROR in my mule ws */ \ | 36 /* #### fix this to GET_STRERROR in my mule ws */ \ |
37 EXTERNAL_TO_C_STRING (strerror (errno), errmess, Qnative); \ | 37 EXTERNAL_TO_C_STRING (strerror (errno), errmess, Qnative); \ |
38 EXTERNAL_TO_C_STRING (string, string_int, Qnative); \ | 38 EXTERNAL_TO_C_STRING (string, string_int, Qnative); \ |
39 warn_when_safe (Qsound, Qerror, "audio: %s, %s", string_int, errmess); \ | 39 warn_when_safe (Qsound, Qerror, "audio: %s, %s", string_int, errmess); \ |
40 } while (0) | 40 } while (0) |
41 # define sound_warn(string) \ | 41 # define sound_warn(string) \ |
42 do { \ | 42 do { \ |
43 Bufbyte *string_int; \ | 43 CBufbyte *string_int; \ |
44 EXTERNAL_TO_C_STRING (GETTEXT (string), string_int, Qnative); \ | 44 EXTERNAL_TO_C_STRING (GETTEXT (string), string_int, Qnative); \ |
45 warn_when_safe (Qsound, Qwarning, "audio: %s", string_int); \ | 45 warn_when_safe (Qsound, Qwarning, "audio: %s", string_int); \ |
46 } while (0) | 46 } while (0) |