Mercurial > emacs
changeset 20308:8d520e3dcb86
Add more prototypes and function declarations.
author | Andreas Schwab <schwab@suse.de> |
---|---|
date | Fri, 21 Nov 1997 14:42:33 +0000 |
parents | a5d72b4a642f |
children | 51fb1f36e614 |
files | src/charset.h src/coding.h |
diffstat | 2 files changed, 22 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/charset.h Fri Nov 21 14:31:20 1997 +0000 +++ b/src/charset.h Fri Nov 21 14:42:33 1997 +0000 @@ -671,6 +671,16 @@ /* Maximum character code currently used. */ #define MAX_CHAR (MIN_CHAR_COMPOSITION + n_cmpchars) -extern int unify_char (); +extern int unify_char P_ ((Lisp_Object, int, int, int, int)); +extern int split_non_ascii_string P_ ((unsigned char *, int, int *, + unsigned char *, unsigned char *)); +extern int string_to_non_ascii_char P_ ((unsigned char *, int, int *)); +extern int non_ascii_char_to_string P_ ((int, unsigned char *, unsigned char **)); +extern int multibyte_form_length P_ ((unsigned char *, int)); +extern int str_cmpchar_id P_ ((unsigned char *, int)); +extern int get_charset_id P_ ((Lisp_Object)); +extern int cmpchar_component P_ ((unsigned int, unsigned int)); +extern int find_charset_in_str P_ ((unsigned char *, int, int *, Lisp_Object)); +extern int strwidth P_ ((unsigned char *, int)); #endif /* _CHARSET_H */
--- a/src/coding.h Fri Nov 21 14:31:20 1997 +0000 +++ b/src/coding.h Fri Nov 21 14:42:33 1997 +0000 @@ -430,11 +430,18 @@ } while (0) /* Extern declarations. */ -extern int decode_coding (), encode_coding (); -extern int decoding_buffer_size (), encoding_buffer_size (); +extern int decode_coding P_ ((struct coding_system *, unsigned char *, + unsigned char *, int, int, int *)); +extern int encode_coding P_ ((struct coding_system *, unsigned char *, + unsigned char *, int, int, int *)); +extern int decoding_buffer_size P_ ((struct coding_system *, int)); +extern int encoding_buffer_size P_ ((struct coding_system *, int)); +extern void detect_coding P_ ((struct coding_system *, unsigned char *, int)); +extern void detect_eol P_ ((struct coding_system *, unsigned char *, int)); extern int conversion_buffer_size; -extern char *conversion_buffer, *get_conversion_buffer (); -extern Lisp_Object Fcheck_coding_system (); +extern char *conversion_buffer; +extern char *get_conversion_buffer P_ ((int)); +extern int setup_coding_system P_ ((Lisp_Object, struct coding_system *)); extern Lisp_Object Qcoding_system, Qeol_type, Qcoding_category_index; extern Lisp_Object Qemacs_mule; extern Lisp_Object Qbuffer_file_coding_system;