diff options
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/alloc.c b/src/alloc.c index 54c4760abab..1396586ba3e 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -2174,7 +2174,7 @@ compact_small_strings (void) | |||
| 2174 | } | 2174 | } |
| 2175 | 2175 | ||
| 2176 | 2176 | ||
| 2177 | DEFUN ("make-string", Fmake_string, Smake_string, 2, 2, 0, | 2177 | DEFUE ("make-string", Fmake_string, Smake_string, 2, 2, 0, |
| 2178 | doc: /* Return a newly created string of length LENGTH, with INIT in each element. | 2178 | doc: /* Return a newly created string of length LENGTH, with INIT in each element. |
| 2179 | LENGTH must be an integer. | 2179 | LENGTH must be an integer. |
| 2180 | INIT must be an integer that represents a character. */) | 2180 | INIT must be an integer that represents a character. */) |
| @@ -2222,7 +2222,7 @@ INIT must be an integer that represents a character. */) | |||
| 2222 | } | 2222 | } |
| 2223 | 2223 | ||
| 2224 | 2224 | ||
| 2225 | DEFUN ("make-bool-vector", Fmake_bool_vector, Smake_bool_vector, 2, 2, 0, | 2225 | DEFUE ("make-bool-vector", Fmake_bool_vector, Smake_bool_vector, 2, 2, 0, |
| 2226 | doc: /* Return a new bool-vector of length LENGTH, using INIT for each element. | 2226 | doc: /* Return a new bool-vector of length LENGTH, using INIT for each element. |
| 2227 | LENGTH must be a number. INIT matters only in whether it is t or nil. */) | 2227 | LENGTH must be a number. INIT matters only in whether it is t or nil. */) |
| 2228 | (Lisp_Object length, Lisp_Object init) | 2228 | (Lisp_Object length, Lisp_Object init) |
| @@ -2610,7 +2610,7 @@ free_cons (struct Lisp_Cons *ptr) | |||
| 2610 | cons_free_list = ptr; | 2610 | cons_free_list = ptr; |
| 2611 | } | 2611 | } |
| 2612 | 2612 | ||
| 2613 | DEFUN ("cons", Fcons, Scons, 2, 2, 0, | 2613 | DEFUE ("cons", Fcons, Scons, 2, 2, 0, |
| 2614 | doc: /* Create a new cons, give it CAR and CDR as components, and return it. */) | 2614 | doc: /* Create a new cons, give it CAR and CDR as components, and return it. */) |
| 2615 | (Lisp_Object car, Lisp_Object cdr) | 2615 | (Lisp_Object car, Lisp_Object cdr) |
| 2616 | { | 2616 | { |
| @@ -2703,7 +2703,7 @@ list5 (Lisp_Object arg1, Lisp_Object arg2, Lisp_Object arg3, Lisp_Object arg4, L | |||
| 2703 | } | 2703 | } |
| 2704 | 2704 | ||
| 2705 | 2705 | ||
| 2706 | DEFUN ("list", Flist, Slist, 0, MANY, 0, | 2706 | DEFUE ("list", Flist, Slist, 0, MANY, 0, |
| 2707 | doc: /* Return a newly created list with specified arguments as elements. | 2707 | doc: /* Return a newly created list with specified arguments as elements. |
| 2708 | Any number of arguments, even zero arguments, are allowed. | 2708 | Any number of arguments, even zero arguments, are allowed. |
| 2709 | usage: (list &rest OBJECTS) */) | 2709 | usage: (list &rest OBJECTS) */) |
| @@ -2721,7 +2721,7 @@ usage: (list &rest OBJECTS) */) | |||
| 2721 | } | 2721 | } |
| 2722 | 2722 | ||
| 2723 | 2723 | ||
| 2724 | DEFUN ("make-list", Fmake_list, Smake_list, 2, 2, 0, | 2724 | DEFUE ("make-list", Fmake_list, Smake_list, 2, 2, 0, |
| 2725 | doc: /* Return a newly created list of length LENGTH, with each element being INIT. */) | 2725 | doc: /* Return a newly created list of length LENGTH, with each element being INIT. */) |
| 2726 | (register Lisp_Object length, Lisp_Object init) | 2726 | (register Lisp_Object length, Lisp_Object init) |
| 2727 | { | 2727 | { |
| @@ -2897,7 +2897,7 @@ allocate_process (void) | |||
| 2897 | } | 2897 | } |
| 2898 | 2898 | ||
| 2899 | 2899 | ||
| 2900 | DEFUN ("make-vector", Fmake_vector, Smake_vector, 2, 2, 0, | 2900 | DEFUE ("make-vector", Fmake_vector, Smake_vector, 2, 2, 0, |
| 2901 | doc: /* Return a newly created vector of length LENGTH, with each element being INIT. | 2901 | doc: /* Return a newly created vector of length LENGTH, with each element being INIT. |
| 2902 | See also the function `vector'. */) | 2902 | See also the function `vector'. */) |
| 2903 | (register Lisp_Object length, Lisp_Object init) | 2903 | (register Lisp_Object length, Lisp_Object init) |
| @@ -2919,7 +2919,7 @@ See also the function `vector'. */) | |||
| 2919 | } | 2919 | } |
| 2920 | 2920 | ||
| 2921 | 2921 | ||
| 2922 | DEFUN ("vector", Fvector, Svector, 0, MANY, 0, | 2922 | DEFUE ("vector", Fvector, Svector, 0, MANY, 0, |
| 2923 | doc: /* Return a newly created vector with specified arguments as elements. | 2923 | doc: /* Return a newly created vector with specified arguments as elements. |
| 2924 | Any number of arguments, even zero arguments, are allowed. | 2924 | Any number of arguments, even zero arguments, are allowed. |
| 2925 | usage: (vector &rest OBJECTS) */) | 2925 | usage: (vector &rest OBJECTS) */) |
| @@ -2938,7 +2938,7 @@ usage: (vector &rest OBJECTS) */) | |||
| 2938 | } | 2938 | } |
| 2939 | 2939 | ||
| 2940 | 2940 | ||
| 2941 | DEFUN ("make-byte-code", Fmake_byte_code, Smake_byte_code, 4, MANY, 0, | 2941 | DEFUE ("make-byte-code", Fmake_byte_code, Smake_byte_code, 4, MANY, 0, |
| 2942 | doc: /* Create a byte-code object with specified arguments as elements. | 2942 | doc: /* Create a byte-code object with specified arguments as elements. |
| 2943 | The arguments should be the ARGLIST, bytecode-string BYTE-CODE, constant | 2943 | The arguments should be the ARGLIST, bytecode-string BYTE-CODE, constant |
| 2944 | vector CONSTANTS, maximum stack size DEPTH, (optional) DOCSTRING, | 2944 | vector CONSTANTS, maximum stack size DEPTH, (optional) DOCSTRING, |
| @@ -3033,7 +3033,7 @@ init_symbol (void) | |||
| 3033 | } | 3033 | } |
| 3034 | 3034 | ||
| 3035 | 3035 | ||
| 3036 | DEFUN ("make-symbol", Fmake_symbol, Smake_symbol, 1, 1, 0, | 3036 | DEFUE ("make-symbol", Fmake_symbol, Smake_symbol, 1, 1, 0, |
| 3037 | doc: /* Return a newly allocated uninterned symbol whose name is NAME. | 3037 | doc: /* Return a newly allocated uninterned symbol whose name is NAME. |
| 3038 | Its value and function definition are void, and its property list is nil. */) | 3038 | Its value and function definition are void, and its property list is nil. */) |
| 3039 | (Lisp_Object name) | 3039 | (Lisp_Object name) |
| @@ -3196,7 +3196,7 @@ make_save_value (void *pointer, int integer) | |||
| 3196 | return val; | 3196 | return val; |
| 3197 | } | 3197 | } |
| 3198 | 3198 | ||
| 3199 | DEFUN ("make-marker", Fmake_marker, Smake_marker, 0, 0, 0, | 3199 | DEFUE ("make-marker", Fmake_marker, Smake_marker, 0, 0, 0, |
| 3200 | doc: /* Return a newly allocated marker which does not point at any place. */) | 3200 | doc: /* Return a newly allocated marker which does not point at any place. */) |
| 3201 | (void) | 3201 | (void) |
| 3202 | { | 3202 | { |
| @@ -3925,7 +3925,7 @@ static int max_live, max_zombies; | |||
| 3925 | 3925 | ||
| 3926 | static double avg_live; | 3926 | static double avg_live; |
| 3927 | 3927 | ||
| 3928 | DEFUN ("gc-status", Fgc_status, Sgc_status, 0, 0, "", | 3928 | DEFUE ("gc-status", Fgc_status, Sgc_status, 0, 0, "", |
| 3929 | doc: /* Show information about live and zombie objects. */) | 3929 | doc: /* Show information about live and zombie objects. */) |
| 3930 | (void) | 3930 | (void) |
| 3931 | { | 3931 | { |
| @@ -4740,7 +4740,7 @@ make_pure_vector (EMACS_INT len) | |||
| 4740 | } | 4740 | } |
| 4741 | 4741 | ||
| 4742 | 4742 | ||
| 4743 | DEFUN ("purecopy", Fpurecopy, Spurecopy, 1, 1, 0, | 4743 | DEFUE ("purecopy", Fpurecopy, Spurecopy, 1, 1, 0, |
| 4744 | doc: /* Make a copy of object OBJ in pure storage. | 4744 | doc: /* Make a copy of object OBJ in pure storage. |
| 4745 | Recursively copies contents of vectors and cons cells. | 4745 | Recursively copies contents of vectors and cons cells. |
| 4746 | Does not copy symbols. Copies strings without text properties. */) | 4746 | Does not copy symbols. Copies strings without text properties. */) |
| @@ -4834,7 +4834,7 @@ inhibit_garbage_collection (void) | |||
| 4834 | } | 4834 | } |
| 4835 | 4835 | ||
| 4836 | 4836 | ||
| 4837 | DEFUN ("garbage-collect", Fgarbage_collect, Sgarbage_collect, 0, 0, "", | 4837 | DEFUE ("garbage-collect", Fgarbage_collect, Sgarbage_collect, 0, 0, "", |
| 4838 | doc: /* Reclaim storage for Lisp objects no longer needed. | 4838 | doc: /* Reclaim storage for Lisp objects no longer needed. |
| 4839 | Garbage collection happens automatically if you cons more than | 4839 | Garbage collection happens automatically if you cons more than |
| 4840 | `gc-cons-threshold' bytes of Lisp data since previous garbage collection. | 4840 | `gc-cons-threshold' bytes of Lisp data since previous garbage collection. |