Mercurial > hg > xemacs-beta
comparison src/sound.h @ 576:6db80f4ab17c
[xemacs-hg @ 2001-05-25 05:42:25 by martinb]
Cleaning up after error-frobbing patch: More compiler warnings/errors
author | martinb |
---|---|
date | Fri, 25 May 2001 05:42:26 +0000 |
parents | 183866b06e0b |
children | 190b164ddcac |
comparison
equal
deleted
inserted
replaced
575:d5e8f5ad5043 | 576:6db80f4ab17c |
---|---|
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 char *errmess; \ |
35 Bufbyte *string_int; \ | 35 char *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 char *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) |