aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2000-01-04 12:21:48 +0000
committerGerd Moellmann2000-01-04 12:21:48 +0000
commitf05d7ea2293fabf30b066ec5c0a0c209bf54eea9 (patch)
treefd050fcc6fe5664ecc98634109bfeee739d84358 /src
parente5372b9c5e14351f1ca56b5e8934f9a5f1c9ca59 (diff)
downloademacs-f05d7ea2293fabf30b066ec5c0a0c209bf54eea9.tar.gz
emacs-f05d7ea2293fabf30b066ec5c0a0c209bf54eea9.zip
Add prototype for allocate_string_data.
(struct Lisp_String): Make DATA member `unsigned char *'.
Diffstat (limited to 'src')
-rw-r--r--src/lisp.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lisp.h b/src/lisp.h
index 41927973c79..f355207d625 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -1,5 +1,6 @@
1/* Fundamental definitions for GNU Emacs Lisp interpreter. 1/* Fundamental definitions for GNU Emacs Lisp interpreter.
2 Copyright (C) 1985,86,87,93,94,95,97,98,1999 Free Software Foundation, Inc. 2 Copyright (C) 1985,86,87,93,94,95,97,98,1999,2000
3 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
@@ -591,7 +592,7 @@ struct Lisp_String
591 EMACS_INT size; 592 EMACS_INT size;
592 EMACS_INT size_byte; 593 EMACS_INT size_byte;
593 DECLARE_INTERVALS /* `data' field must be last. */ 594 DECLARE_INTERVALS /* `data' field must be last. */
594 unsigned char data[1]; 595 unsigned char *data;
595 }; 596 };
596 597
597/* If a struct is made to look like a vector, this macro returns the length 598/* If a struct is made to look like a vector, this macro returns the length
@@ -2077,6 +2078,7 @@ extern void memory_warnings P_ ((char *, void (*warnfun) ()));
2077#endif 2078#endif
2078 2079
2079/* Defined in alloc.c */ 2080/* Defined in alloc.c */
2081extern void allocate_string_data P_ ((struct Lisp_String *, int, int));
2080extern void uninterrupt_malloc P_ ((void)); 2082extern void uninterrupt_malloc P_ ((void));
2081extern void malloc_warning P_ ((char *)); 2083extern void malloc_warning P_ ((char *));
2082extern void memory_full P_ ((void)); 2084extern void memory_full P_ ((void));