aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lisp.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/lisp.h b/src/lisp.h
index cc464b95e92..234ab3ea9c7 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -1,5 +1,5 @@
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,2000, 2001 2 Copyright (C) 1985,86,87,93,94,95,97,98,1999,2000, 2001, 2002
3 Free Software Foundation, Inc. 3 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
@@ -535,6 +535,14 @@ extern Lisp_Object make_number ();
535#define ASET(ARRAY, IDX, VAL) (AREF ((ARRAY), (IDX)) = (VAL)) 535#define ASET(ARRAY, IDX, VAL) (AREF ((ARRAY), (IDX)) = (VAL))
536#define ASIZE(ARRAY) XVECTOR ((ARRAY))->size 536#define ASIZE(ARRAY) XVECTOR ((ARRAY))->size
537 537
538/* Convenience macros for dealing with Lisp strings. */
539
540#define SREF(string, index) XSTRING (string)->data[index]
541#define SDATA(string) XSTRING (string)->data
542#define SCHARS(string) XSTRING (string)->size
543#define SBYTES(string) XSTRING (string)->size_bytes
544#define SMBP(string) STRING_MULTIBYTE (string)
545
538 546
539/* Basic data type for use of intervals. See the macros in intervals.h. */ 547/* Basic data type for use of intervals. See the macros in intervals.h. */
540 548