emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/lisp.h


From: Ken Raeburn
Subject: [Emacs-diffs] Changes to emacs/src/lisp.h
Date: Sun, 14 Jul 2002 22:13:38 -0400

Index: emacs/src/lisp.h
diff -c emacs/src/lisp.h:1.428 emacs/src/lisp.h:1.429
*** emacs/src/lisp.h:1.428      Sun Jul 14 19:54:05 2002
--- emacs/src/lisp.h    Sun Jul 14 22:13:38 2002
***************
*** 543,550 ****
  
  #define SREF(string, index)   XSTRING (string)->data[index]
  #define SDATA(string)         XSTRING (string)->data
! #define SCHARS(string)                XSTRING (string)->size
! #define SBYTES(string)                STRING_BYTES (XSTRING (string))
  
  
  /* Basic data type for use of intervals.  See the macros in intervals.h.  */
--- 543,553 ----
  
  #define SREF(string, index)   XSTRING (string)->data[index]
  #define SDATA(string)         XSTRING (string)->data
! #define SCHARS(string)                (XSTRING (string)->size + 0)
! #define SBYTES(string)                (STRING_BYTES (XSTRING (string)) + 0)
! 
! #define STRING_SET_CHARS(string, newsize) \
!     (XSTRING (string)->size = (newsize))
  
  
  /* Basic data type for use of intervals.  See the macros in intervals.h.  */



reply via email to

[Prev in Thread] Current Thread [Next in Thread]