Mercurial > vim
view src/proto/if_python3.pro @ 33924:ccdb948c7273 v9.0.2160
patch 9.0.2160: instanceof() should use varargs as second arg
Commit: https://github.com/vim/vim/commit/2025af165ec68d831f0f0f668a3ceac3f39142ef
Author: Ernie Rael <errael@raelity.com>
Date: Tue Dec 12 16:58:00 2023 +0100
patch 9.0.2160: instanceof() should use varargs as second arg
Problem: instanceof() should use varargs as second arg
Solution: Modify `instanceof()` to use varargs instead of list
Modify `instanceof()` to use varargs instead of list
Valid `instanceof()` arguments are `type`s. A `type` is not a value;
it cannot be added to a list.
This change is non-compatible with the current usage of instanceof;
but instanceof is relatively new and it's a trivial change.
fixes: #13421
closes: #13644
Signed-off-by: Ernie Rael <errael@raelity.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 12 Dec 2023 17:15:03 +0100 |
parents | 3af53f2895dc |
children | a0b0c1e07064 |
line wrap: on
line source
/* if_python3.c */ int python3_enabled(int verbose); void python3_end(void); int python3_loaded(void); void ex_py3(exarg_T *eap); void ex_py3file(exarg_T *eap); void ex_py3do(exarg_T *eap); void python3_buffer_free(buf_T *buf); void python3_window_free(win_T *win); void python3_tabpage_free(tabpage_T *tab); void do_py3eval(char_u *str, typval_T *rettv); int set_ref_in_python3(int copyID); int python3_version(void); /* vim: set ft=c : */