view src/typemap @ 15087:6a74cde86252 v8.1.0554

patch 8.1.0554: popup menu overlaps with preview window commit https://github.com/vim/vim/commit/614ab8aa00346724bfc27980d25985d482269b75 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Dec 1 11:59:00 2018 +0100 patch 8.1.0554: popup menu overlaps with preview window Problem: Popup menu overlaps with preview window. Solution: Adjust the height computation. (Hirohito Higashi, closes https://github.com/vim/vim/issues/3414)
author Bram Moolenaar <Bram@vim.org>
date Sat, 01 Dec 2018 12:00:07 +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}\")