Patch 8.2.3101

4 views
Skip to first unread message

Bram Moolenaar

unread,
Jul 4, 2021, 10:51:43 AM7/4/21
to vim...@googlegroups.com

Patch 8.2.3101
Problem: Missing function prototype for vim_round().
Solution: Add the prototype.
Files: src/proto/float.pro


*** ../vim-8.2.3100/src/proto/float.pro 2021-06-02 17:07:02.280398156 +0200
--- src/proto/float.pro 2021-07-04 16:49:14.120003673 +0200
***************
*** 1,4 ****
! /* math.c */
int string2float(char_u *text, float_T *value);
void f_abs(typval_T *argvars, typval_T *rettv);
void f_acos(typval_T *argvars, typval_T *rettv);
--- 1,4 ----
! /* float.c */
int string2float(char_u *text, float_T *value);
void f_abs(typval_T *argvars, typval_T *rettv);
void f_acos(typval_T *argvars, typval_T *rettv);
***************
*** 17,22 ****
--- 17,23 ----
void f_log(typval_T *argvars, typval_T *rettv);
void f_log10(typval_T *argvars, typval_T *rettv);
void f_pow(typval_T *argvars, typval_T *rettv);
+ float_T vim_round(float_T f);
void f_round(typval_T *argvars, typval_T *rettv);
void f_sin(typval_T *argvars, typval_T *rettv);
void f_sinh(typval_T *argvars, typval_T *rettv);

--
From "know your smileys":
~#:-( I just washed my hair, and I can't do nuthin' with it.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

Bram Moolenaar

unread,
Jul 4, 2021, 11:22:04 AM7/4/21
to vim...@googlegroups.com, Bram Moolenaar

I wrote:

> Patch 8.2.3101
> Problem: Missing function prototype for vim_round().
> Solution: Add the prototype.
> Files: src/proto/float.pro

Missed the update to version.c:

*** ../vim-8.2.3101/src/version.c 2021-07-04 15:54:04.939754549 +0200
--- src/version.c 2021-07-04 16:49:47.827925942 +0200
***************
*** 757,758 ****
--- 757,760 ----
{ /* Add new patch number below this line */
+ /**/
+ 3101,
/**/

--
From "know your smileys":
O:-) Saint
Reply all
Reply to author
Forward
0 new messages