diff options
| author | Kim F. Storm | 2004-06-21 22:36:02 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2004-06-21 22:36:02 +0000 |
| commit | f4c30cde81057e798913f0c4fb5d68efbe4da316 (patch) | |
| tree | 005b2a900d39aa9678680f902d0f24d63296f087 /src | |
| parent | a9e6baccec3c32fba2de37fd40836e173e2b8f15 (diff) | |
| download | emacs-f4c30cde81057e798913f0c4fb5d68efbe4da316.tar.gz emacs-f4c30cde81057e798913f0c4fb5d68efbe4da316.zip | |
(Fmapconcat, Fmapcar): Use SAFE_ALLOCA_LISP.
Diffstat (limited to 'src')
| -rw-r--r-- | src/fns.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -3010,7 +3010,7 @@ SEQUENCE may be a list, a vector, a bool-vector, or a string. */) | |||
| 3010 | if (nargs < 0) return build_string (""); | 3010 | if (nargs < 0) return build_string (""); |
| 3011 | 3011 | ||
| 3012 | nbytes = nargs * sizeof (Lisp_Object); | 3012 | nbytes = nargs * sizeof (Lisp_Object); |
| 3013 | SAFE_ALLOCA (args, Lisp_Object *, nbytes); | 3013 | SAFE_ALLOCA_LISP (args, nbytes); |
| 3014 | 3014 | ||
| 3015 | GCPRO1 (separator); | 3015 | GCPRO1 (separator); |
| 3016 | mapcar1 (leni, args, function, sequence); | 3016 | mapcar1 (leni, args, function, sequence); |
| @@ -3046,7 +3046,7 @@ SEQUENCE may be a list, a vector, a bool-vector, or a string. */) | |||
| 3046 | leni = XFASTINT (len); | 3046 | leni = XFASTINT (len); |
| 3047 | 3047 | ||
| 3048 | nbytes = leni * sizeof (Lisp_Object); | 3048 | nbytes = leni * sizeof (Lisp_Object); |
| 3049 | SAFE_ALLOCA (args, Lisp_Object *, nbytes); | 3049 | SAFE_ALLOCA_LISP (args, nbytes); |
| 3050 | 3050 | ||
| 3051 | mapcar1 (leni, args, function, sequence); | 3051 | mapcar1 (leni, args, function, sequence); |
| 3052 | 3052 | ||