[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/lisp.h
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] Changes to emacs/src/lisp.h |
Date: |
Sat, 08 Apr 2006 16:37:12 +0000 |
Index: emacs/src/lisp.h
diff -u emacs/src/lisp.h:1.555 emacs/src/lisp.h:1.556
--- emacs/src/lisp.h:1.555 Sat Apr 8 14:34:31 2006
+++ emacs/src/lisp.h Sat Apr 8 16:37:11 2006
@@ -713,6 +713,13 @@
((int)((char*)&((type*)0)->field - (char*)0))
#endif
+struct Lisp_Vector
+ {
+ EMACS_INT size;
+ struct Lisp_Vector *next;
+ Lisp_Object contents[1];
+ };
+
/* If a struct is made to look like a vector, this macro returns the length
of the shortest vector that would hold that struct. */
#define VECSIZE(type) ((sizeof (type) - (sizeof (struct Lisp_Vector) \
@@ -724,16 +731,9 @@
at the end and we need to compute the number of Lisp_Object fields (the
ones that the GC needs to trace). */
#define PSEUDOVECSIZE(type, nonlispfield) \
- ((offsetof(type, nonlispfield) - offsetof(struct Lisp_Vector, contents[0])) \
+ ((OFFSETOF(type, nonlispfield) - OFFSETOF(struct Lisp_Vector, contents[0])) \
/ sizeof (Lisp_Object))
-struct Lisp_Vector
- {
- EMACS_INT size;
- struct Lisp_Vector *next;
- Lisp_Object contents[1];
- };
-
/* A char table is a kind of vectorlike, with contents are like a
vector but with a few other slots. For some purposes, it makes
sense to handle a chartable with type struct Lisp_Vector. An
- [Emacs-diffs] Changes to emacs/src/lisp.h, Stefan Monnier, 2006/04/08
- [Emacs-diffs] Changes to emacs/src/lisp.h, Stefan Monnier, 2006/04/08
- [Emacs-diffs] Changes to emacs/src/lisp.h,
Eli Zaretskii <=
- [Emacs-diffs] Changes to emacs/src/lisp.h, Dan Nicolaescu, 2006/04/08
- [Emacs-diffs] Changes to emacs/src/lisp.h, Dan Nicolaescu, 2006/04/09
- [Emacs-diffs] Changes to emacs/src/lisp.h, Dan Nicolaescu, 2006/04/09
- [Emacs-diffs] Changes to emacs/src/lisp.h, Richard M. Stallman, 2006/04/09
- [Emacs-diffs] Changes to emacs/src/lisp.h, Dan Nicolaescu, 2006/04/11
- [Emacs-diffs] Changes to emacs/src/lisp.h, YAMAMOTO Mitsuharu, 2006/04/12