view src/typemap @ 19065:ef3633932b0c v8.2.0093

patch 8.2.0093: win_splitmove() can make Vim hang Commit: https://github.com/vim/vim/commit/7b94e77132eabdf0e43abca57e2ffeb961545174 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jan 6 21:03:24 2020 +0100 patch 8.2.0093: win_splitmove() can make Vim hang Problem: win_splitmove() can make Vim hang. Solution: Check windows exists in the current tab page. (closes https://github.com/vim/vim/issues/5444)
author Bram Moolenaar <Bram@vim.org>
date Mon, 06 Jan 2020 21:15:06 +0100
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}\")