diff options
| author | Joakim Verona | 2015-01-21 00:26:56 +0100 |
|---|---|---|
| committer | Joakim Verona | 2015-01-21 00:26:56 +0100 |
| commit | 8628a48fec7fcd8bdbbf6ce5808fc574631d1541 (patch) | |
| tree | 3dfc3b71850123e7514ddb149a0ba768618cfddf /src/lisp.h | |
| parent | ffd9ee1d6412a6e61383930562e6167a458f0d5f (diff) | |
| parent | 0dd19ac82662c5710e73852f438fd55e1d9225b7 (diff) | |
| download | emacs-8628a48fec7fcd8bdbbf6ce5808fc574631d1541.tar.gz emacs-8628a48fec7fcd8bdbbf6ce5808fc574631d1541.zip | |
Merge branch 'master' into xwidget
Diffstat (limited to 'src/lisp.h')
| -rw-r--r-- | src/lisp.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lisp.h b/src/lisp.h index 65e6c626527..f1e6945f43a 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -1513,13 +1513,13 @@ gc_aset (Lisp_Object array, ptrdiff_t idx, Lisp_Object val) | |||
| 1513 | to find such assumptions later if we change Qnil to be nonzero. */ | 1513 | to find such assumptions later if we change Qnil to be nonzero. */ |
| 1514 | enum { NIL_IS_ZERO = XLI_BUILTIN_LISPSYM (iQnil) == 0 }; | 1514 | enum { NIL_IS_ZERO = XLI_BUILTIN_LISPSYM (iQnil) == 0 }; |
| 1515 | 1515 | ||
| 1516 | /* Set a Lisp_Object array V's SIZE entries to nil. */ | 1516 | /* Set a Lisp_Object array V's N entries to nil. */ |
| 1517 | INLINE void | 1517 | INLINE void |
| 1518 | memsetnil (Lisp_Object *v, ptrdiff_t size) | 1518 | memsetnil (Lisp_Object *v, ptrdiff_t n) |
| 1519 | { | 1519 | { |
| 1520 | eassert (0 <= size); | 1520 | eassert (0 <= n); |
| 1521 | verify (NIL_IS_ZERO); | 1521 | verify (NIL_IS_ZERO); |
| 1522 | memset (v, 0, size * sizeof *v); | 1522 | memset (v, 0, n * sizeof *v); |
| 1523 | } | 1523 | } |
| 1524 | 1524 | ||
| 1525 | /* If a struct is made to look like a vector, this macro returns the length | 1525 | /* If a struct is made to look like a vector, this macro returns the length |