diff options
| author | Richard M. Stallman | 1995-03-11 00:50:20 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-03-11 00:50:20 +0000 |
| commit | 3d9652eb1520a3ad6d83fd22ef43ff4b72703265 (patch) | |
| tree | f9f9653ed051162c69f1a1f0f7ce283f70637862 /src/data.c | |
| parent | 0997c25b91efbbd89c877e42c5072a8e7d512ded (diff) | |
| download | emacs-3d9652eb1520a3ad6d83fd22ef43ff4b72703265.tar.gz emacs-3d9652eb1520a3ad6d83fd22ef43ff4b72703265.zip | |
(Fash, Flsh): Change arg names.
Diffstat (limited to 'src/data.c')
| -rw-r--r-- | src/data.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/data.c b/src/data.c index c5a546d53fe..07ffcb3aa6b 100644 --- a/src/data.c +++ b/src/data.c | |||
| @@ -2018,18 +2018,18 @@ DEFUN ("ash", Fash, Sash, 2, 2, 0, | |||
| 2018 | "Return VALUE with its bits shifted left by COUNT.\n\ | 2018 | "Return VALUE with its bits shifted left by COUNT.\n\ |
| 2019 | If COUNT is negative, shifting is actually to the right.\n\ | 2019 | If COUNT is negative, shifting is actually to the right.\n\ |
| 2020 | In this case, the sign bit is duplicated.") | 2020 | In this case, the sign bit is duplicated.") |
| 2021 | (num1, num2) | 2021 | (value, num2) |
| 2022 | register Lisp_Object num1, num2; | 2022 | register Lisp_Object value, num2; |
| 2023 | { | 2023 | { |
| 2024 | register Lisp_Object val; | 2024 | register Lisp_Object val; |
| 2025 | 2025 | ||
| 2026 | CHECK_NUMBER (num1, 0); | 2026 | CHECK_NUMBER (value, 0); |
| 2027 | CHECK_NUMBER (num2, 1); | 2027 | CHECK_NUMBER (count, 1); |
| 2028 | 2028 | ||
| 2029 | if (XINT (num2) > 0) | 2029 | if (XINT (count) > 0) |
| 2030 | XSETINT (val, XINT (num1) << XFASTINT (num2)); | 2030 | XSETINT (val, XINT (value) << XFASTINT (count)); |
| 2031 | else | 2031 | else |
| 2032 | XSETINT (val, XINT (num1) >> -XINT (num2)); | 2032 | XSETINT (val, XINT (value) >> -XINT (count)); |
| 2033 | return val; | 2033 | return val; |
| 2034 | } | 2034 | } |
| 2035 | 2035 | ||
| @@ -2037,18 +2037,18 @@ DEFUN ("lsh", Flsh, Slsh, 2, 2, 0, | |||
| 2037 | "Return VALUE with its bits shifted left by COUNT.\n\ | 2037 | "Return VALUE with its bits shifted left by COUNT.\n\ |
| 2038 | If COUNT is negative, shifting is actually to the right.\n\ | 2038 | If COUNT is negative, shifting is actually to the right.\n\ |
| 2039 | In this case, zeros are shifted in on the left.") | 2039 | In this case, zeros are shifted in on the left.") |
| 2040 | (num1, num2) | 2040 | (value, count) |
| 2041 | register Lisp_Object num1, num2; | 2041 | register Lisp_Object value, count; |
| 2042 | { | 2042 | { |
| 2043 | register Lisp_Object val; | 2043 | register Lisp_Object val; |
| 2044 | 2044 | ||
| 2045 | CHECK_NUMBER (num1, 0); | 2045 | CHECK_NUMBER (value, 0); |
| 2046 | CHECK_NUMBER (num2, 1); | 2046 | CHECK_NUMBER (count, 1); |
| 2047 | 2047 | ||
| 2048 | if (XINT (num2) > 0) | 2048 | if (XINT (count) > 0) |
| 2049 | XSETINT (val, (EMACS_UINT) XUINT (num1) << XFASTINT (num2)); | 2049 | XSETINT (val, (EMACS_UINT) XUINT (value) << XFASTINT (count)); |
| 2050 | else | 2050 | else |
| 2051 | XSETINT (val, (EMACS_UINT) XUINT (num1) >> -XINT (num2)); | 2051 | XSETINT (val, (EMACS_UINT) XUINT (value) >> -XINT (count)); |
| 2052 | return val; | 2052 | return val; |
| 2053 | } | 2053 | } |
| 2054 | 2054 | ||