aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1995-03-11 00:50:20 +0000
committerRichard M. Stallman1995-03-11 00:50:20 +0000
commit3d9652eb1520a3ad6d83fd22ef43ff4b72703265 (patch)
treef9f9653ed051162c69f1a1f0f7ce283f70637862 /src
parent0997c25b91efbbd89c877e42c5072a8e7d512ded (diff)
downloademacs-3d9652eb1520a3ad6d83fd22ef43ff4b72703265.tar.gz
emacs-3d9652eb1520a3ad6d83fd22ef43ff4b72703265.zip
(Fash, Flsh): Change arg names.
Diffstat (limited to 'src')
-rw-r--r--src/data.c28
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\
2019If COUNT is negative, shifting is actually to the right.\n\ 2019If COUNT is negative, shifting is actually to the right.\n\
2020In this case, the sign bit is duplicated.") 2020In 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\
2038If COUNT is negative, shifting is actually to the right.\n\ 2038If COUNT is negative, shifting is actually to the right.\n\
2039In this case, zeros are shifted in on the left.") 2039In 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