diff options
Diffstat (limited to 'src/lisp.h')
| -rw-r--r-- | src/lisp.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lisp.h b/src/lisp.h index 8674fe11a64..356692d53a1 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -3942,6 +3942,7 @@ extern Lisp_Object pure_cons (Lisp_Object, Lisp_Object); | |||
| 3942 | extern Lisp_Object make_vector (ptrdiff_t, Lisp_Object); | 3942 | extern Lisp_Object make_vector (ptrdiff_t, Lisp_Object); |
| 3943 | extern void make_byte_code (struct Lisp_Vector *); | 3943 | extern void make_byte_code (struct Lisp_Vector *); |
| 3944 | extern struct Lisp_Vector *allocate_vector (ptrdiff_t); | 3944 | extern struct Lisp_Vector *allocate_vector (ptrdiff_t); |
| 3945 | extern struct Lisp_Vector *allocate_nil_vector (ptrdiff_t); | ||
| 3945 | 3946 | ||
| 3946 | /* Make an uninitialized vector for SIZE objects. NOTE: you must | 3947 | /* Make an uninitialized vector for SIZE objects. NOTE: you must |
| 3947 | be sure that GC cannot happen until the vector is completely | 3948 | be sure that GC cannot happen until the vector is completely |
| @@ -3977,9 +3978,7 @@ make_uninit_sub_char_table (int depth, int min_char) | |||
| 3977 | INLINE Lisp_Object | 3978 | INLINE Lisp_Object |
| 3978 | make_nil_vector (ptrdiff_t size) | 3979 | make_nil_vector (ptrdiff_t size) |
| 3979 | { | 3980 | { |
| 3980 | Lisp_Object vec = make_uninit_vector (size); | 3981 | return make_lisp_ptr (allocate_nil_vector (size), Lisp_Vectorlike); |
| 3981 | memclear (XVECTOR (vec)->contents, size * word_size); | ||
| 3982 | return vec; | ||
| 3983 | } | 3982 | } |
| 3984 | 3983 | ||
| 3985 | extern struct Lisp_Vector *allocate_pseudovector (int, int, int, | 3984 | extern struct Lisp_Vector *allocate_pseudovector (int, int, int, |