Mercurial > emacs
changeset 46416:de62156bec9a
(SDATA): Produce rvalue.
author | Ken Raeburn <raeburn@raeburn.org> |
---|---|
date | Tue, 16 Jul 2002 15:09:30 +0000 |
parents | 07e8cd21b254 |
children | f498269eec42 |
files | src/lisp.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lisp.h Tue Jul 16 13:47:49 2002 +0000 +++ b/src/lisp.h Tue Jul 16 15:09:30 2002 +0000 @@ -542,7 +542,7 @@ /* Convenience macros for dealing with Lisp strings. */ #define SREF(string, index) XSTRING (string)->data[index] -#define SDATA(string) XSTRING (string)->data +#define SDATA(string) (XSTRING (string)->data + 0) #define SCHARS(string) (XSTRING (string)->size + 0) #define SBYTES(string) (STRING_BYTES (XSTRING (string)) + 0)