1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-26 19:18:50 +00:00

Add more prototypes and function declarations.

This commit is contained in:
Andreas Schwab 1997-11-21 14:42:33 +00:00
parent 07478155f2
commit c04809fb5b
2 changed files with 22 additions and 5 deletions

View File

@ -671,6 +671,16 @@ extern int n_cmpchars;
/* 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 */

View File

@ -430,11 +430,18 @@ struct coding_system
} 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;