# HG changeset patch # User Gerd Moellmann # Date 946988508 0 # Node ID d7b1de135a40b9f7f78c7048b38e908d5af55d3c # Parent 08fbb3f37f918d0016123f0dfd4a60a112943cff Add prototype for allocate_string_data. (struct Lisp_String): Make DATA member `unsigned char *'. diff -r 08fbb3f37f91 -r d7b1de135a40 src/lisp.h --- a/src/lisp.h Tue Jan 04 12:21:21 2000 +0000 +++ b/src/lisp.h Tue Jan 04 12:21:48 2000 +0000 @@ -1,5 +1,6 @@ /* Fundamental definitions for GNU Emacs Lisp interpreter. - Copyright (C) 1985,86,87,93,94,95,97,98,1999 Free Software Foundation, Inc. + Copyright (C) 1985,86,87,93,94,95,97,98,1999,2000 + Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -591,7 +592,7 @@ EMACS_INT size; EMACS_INT size_byte; DECLARE_INTERVALS /* `data' field must be last. */ - unsigned char data[1]; + unsigned char *data; }; /* If a struct is made to look like a vector, this macro returns the length @@ -2077,6 +2078,7 @@ #endif /* Defined in alloc.c */ +extern void allocate_string_data P_ ((struct Lisp_String *, int, int)); extern void uninterrupt_malloc P_ ((void)); extern void malloc_warning P_ ((char *)); extern void memory_full P_ ((void));