Mercurial > vim
view src/proto/if_python.pro @ 8055:6db4b1c863ec v7.4.1322
commit https://github.com/vim/vim/commit/3bece9fee9c02934d3e295b29d253e13d4ef26a7
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Feb 15 20:39:46 2016 +0100
patch 7.4.1322
Problem: Crash when unletting the variable that holds the channel in a
callback function. (Christian Robinson)
Solution: Increase the reference count while invoking the callback.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 15 Feb 2016 20:45:04 +0100 |
parents | 21b0a39d13ed |
children |
line wrap: on
line source
/* if_python.c */ int python_enabled(int verbose); void python_end(void); int python_loaded(void); void ex_python(exarg_T *eap); void ex_pyfile(exarg_T *eap); void ex_pydo(exarg_T *eap); void python_buffer_free(buf_T *buf); void python_window_free(win_T *win); void python_tabpage_free(tabpage_T *tab); void do_pyeval(char_u *str, typval_T *rettv); int set_ref_in_python(int copyID); /* vim: set ft=c : */