Mercurial > hg > xemacs-beta
comparison src/emodules.c @ 564:001628b7a5b3
[xemacs-hg @ 2001-05-24 09:37:25 by yoshiki]
Fix broken build on Linux.
* buffer.c (Qtext_conversion_error): Moved from file-coding.c
so that --with-file-coding=no will compile corectly.
* buffer.c (syms_of_buffer): Define Qtext_conversion_error.
Also moved from file-coding.c
* file-coding.c (Qtext_conversion_error): Moved to buffer.c
* file-coding.c (syms_of_file_coding): Moved Qtext_conversion_error
initialization to buffer.c
* emodules.c (Qdll_error): New error.
* emodules.c (syms_of_module): Declare Qdll_error.
* esd.c (esd_play_sound_data): sound_warn accepts only one arg.
* miscplay.c (sndcnv8S_2mono):
* miscplay.c (sndcnv2monounsigned):
* miscplay.c (int2ulaw):
* miscplay.c (sndcnv2byteLE):
* miscplay.c (sndcnv2byteBE):
* miscplay.c (sndcnv2monobyteLE):
* miscplay.c (sndcnv2monobyteBE): Replace signed Char_Binary with
Char_Binary. There's no type called signed char in C.
Also remove audio: from error message. sound_warn and sound_perror
prepends them.
author | yoshiki |
---|---|
date | Thu, 24 May 2001 09:37:30 +0000 |
parents | 183866b06e0b |
children | 6db80f4ab17c |
comparison
equal
deleted
inserted
replaced
563:183866b06e0b | 564:001628b7a5b3 |
---|---|
29 /* Do we do our work quietly? */ | 29 /* Do we do our work quietly? */ |
30 int load_modules_quietly; | 30 int load_modules_quietly; |
31 | 31 |
32 /* Load path */ | 32 /* Load path */ |
33 Lisp_Object Vmodule_load_path; | 33 Lisp_Object Vmodule_load_path; |
34 | |
35 Lisp_Object Qdll_error; | |
34 | 36 |
35 typedef struct _emodules_list | 37 typedef struct _emodules_list |
36 { | 38 { |
37 int used; /* Is this slot used? */ | 39 int used; /* Is this slot used? */ |
38 char *soname; /* Name of the shared object loaded (full path) */ | 40 char *soname; /* Name of the shared object loaded (full path) */ |
525 | 527 |
526 | 528 |
527 void | 529 void |
528 syms_of_module (void) | 530 syms_of_module (void) |
529 { | 531 { |
532 DEFERROR_STANDARD (Qdll_error, Qerror); | |
530 DEFSUBR(Fload_module); | 533 DEFSUBR(Fload_module); |
531 DEFSUBR(Flist_modules); | 534 DEFSUBR(Flist_modules); |
532 #ifdef DANGEROUS_NASTY_SCARY_MONSTER | 535 #ifdef DANGEROUS_NASTY_SCARY_MONSTER |
533 DEFSUBR(Funload_module); | 536 DEFSUBR(Funload_module); |
534 #endif | 537 #endif |