aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKen Raeburn2002-07-19 14:27:13 +0000
committerKen Raeburn2002-07-19 14:27:13 +0000
commit101d50c8d92649705174635ad899b2c873d91699 (patch)
tree2cbd7ec98fab4a82b455301948c5e1a354b41199 /src
parentea64076a0143c21f56e8ce09b179f53945c0a7c5 (diff)
downloademacs-101d50c8d92649705174635ad899b2c873d91699.tar.gz
emacs-101d50c8d92649705174635ad899b2c873d91699.zip
(STRING_COPYIN): New macro.
(detect_coding_system, safe_bcopy, temp_output_buffer_setup): (internal_with_output_to_temp_buffer): Declarations updated.
Diffstat (limited to 'src')
-rw-r--r--src/lisp.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/lisp.h b/src/lisp.h
index 26c517c8ef5..d11c31590e5 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -550,6 +550,9 @@ extern Lisp_Object make_number ();
550#define STRING_SET_CHARS(string, newsize) \ 550#define STRING_SET_CHARS(string, newsize) \
551 (XSTRING (string)->size = (newsize)) 551 (XSTRING (string)->size = (newsize))
552 552
553#define STRING_COPYIN(string, index, new, count) \
554 bcopy (new, XSTRING (string)->data + index, count)
555
553 556
554/* Basic data type for use of intervals. See the macros in intervals.h. */ 557/* Basic data type for use of intervals. See the macros in intervals.h. */
555 558
@@ -2161,7 +2164,8 @@ EXFUN (Ffind_operation_coding_system, MANY);
2161EXFUN (Fupdate_coding_systems_internal, 0); 2164EXFUN (Fupdate_coding_systems_internal, 0);
2162EXFUN (Fencode_coding_string, 3); 2165EXFUN (Fencode_coding_string, 3);
2163EXFUN (Fdecode_coding_string, 3); 2166EXFUN (Fdecode_coding_string, 3);
2164extern Lisp_Object detect_coding_system P_ ((unsigned char *, int, int, int)); 2167extern Lisp_Object detect_coding_system P_ ((const unsigned char *, int, int,
2168 int));
2165extern void init_coding P_ ((void)); 2169extern void init_coding P_ ((void));
2166extern void init_coding_once P_ ((void)); 2170extern void init_coding_once P_ ((void));
2167extern void syms_of_coding P_ ((void)); 2171extern void syms_of_coding P_ ((void));
@@ -2347,7 +2351,7 @@ EXFUN (Fsit_for, 3);
2347extern Lisp_Object sit_for P_ ((int, int, int, int, int)); 2351extern Lisp_Object sit_for P_ ((int, int, int, int, int));
2348extern void init_display P_ ((void)); 2352extern void init_display P_ ((void));
2349extern void syms_of_display P_ ((void)); 2353extern void syms_of_display P_ ((void));
2350extern void safe_bcopy P_ ((char *, char *, int)); 2354extern void safe_bcopy P_ ((const char *, char *, int));
2351 2355
2352/* Defined in xdisp.c */ 2356/* Defined in xdisp.c */
2353extern Lisp_Object Qinhibit_point_motion_hooks; 2357extern Lisp_Object Qinhibit_point_motion_hooks;
@@ -2465,14 +2469,14 @@ EXFUN (Fprint, 2);
2465EXFUN (Ferror_message_string, 1); 2469EXFUN (Ferror_message_string, 1);
2466extern Lisp_Object Vstandard_output, Qstandard_output; 2470extern Lisp_Object Vstandard_output, Qstandard_output;
2467extern Lisp_Object Qexternal_debugging_output; 2471extern Lisp_Object Qexternal_debugging_output;
2468extern void temp_output_buffer_setup P_ ((char *)); 2472extern void temp_output_buffer_setup P_ ((const char *));
2469extern int print_level, print_escape_newlines; 2473extern int print_level, print_escape_newlines;
2470extern Lisp_Object Qprint_escape_newlines; 2474extern Lisp_Object Qprint_escape_newlines;
2471extern void write_string P_ ((char *, int)); 2475extern void write_string P_ ((char *, int));
2472extern void write_string_1 P_ ((char *, int, Lisp_Object)); 2476extern void write_string_1 P_ ((char *, int, Lisp_Object));
2473extern void print_error_message P_ ((Lisp_Object, Lisp_Object)); 2477extern void print_error_message P_ ((Lisp_Object, Lisp_Object));
2474extern Lisp_Object internal_with_output_to_temp_buffer 2478extern Lisp_Object internal_with_output_to_temp_buffer
2475 P_ ((char *, Lisp_Object (*) (Lisp_Object), Lisp_Object)); 2479 P_ ((const char *, Lisp_Object (*) (Lisp_Object), Lisp_Object));
2476extern void float_to_string P_ ((unsigned char *, double)); 2480extern void float_to_string P_ ((unsigned char *, double));
2477extern void syms_of_print P_ ((void)); 2481extern void syms_of_print P_ ((void));
2478 2482
@@ -3062,7 +3066,7 @@ extern void init_baud_rate P_ ((void));
3062extern int emacs_open P_ ((const char *, int, int)); 3066extern int emacs_open P_ ((const char *, int, int));
3063extern int emacs_close P_ ((int)); 3067extern int emacs_close P_ ((int));
3064extern int emacs_read P_ ((int, char *, unsigned int)); 3068extern int emacs_read P_ ((int, char *, unsigned int));
3065extern int emacs_write P_ ((int, char *, unsigned int)); 3069extern int emacs_write P_ ((int, const char *, unsigned int));
3066 3070
3067/* defined in filelock.c */ 3071/* defined in filelock.c */
3068EXFUN (Funlock_buffer, 0); 3072EXFUN (Funlock_buffer, 0);