Mercurial > vim
view src/typemap @ 9133:dec3b7b977c0 v7.4.1850
commit https://github.com/vim/vim/commit/bf981eeb6b4ee63ae8543a7f9865ab700159a79c
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat May 28 13:20:31 2016 +0200
patch 7.4.1850
Problem: GUI freezes when using a job. (Shougo)
Solution: Unregister the channel when there is an input error.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 28 May 2016 13:30:05 +0200 |
parents | dec4338a7da2 |
children |
line wrap: on
line source
TYPEMAP VIWIN T_VIOBJNOMUNGE VIBUF T_VIOBJNOMUNGE INPUT T_VIOBJNOMUNGE if (sv_isa($arg, \"${ntype}\")) { IV tmp = SvIV((SV*)SvRV($arg)); $var = INT2PTR($type, tmp); if (!tmp) croak(\"$ntype no longer exists\"); } else croak(\"$var is not of type ${ntype}\")