view src/typemap @ 16992:0f2663c087cd v8.1.1496

patch 8.1.1496: popup window height is not recomputed commit https://github.com/vim/vim/commit/acc682bd7ca66b74b42de7a5fb5d3ef37897926f Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jun 8 17:15:51 2019 +0200 patch 8.1.1496: popup window height is not recomputed Problem: Popup window height is not recomputed. Solution: Recompute the height when needed.
author Bram Moolenaar <Bram@vim.org>
date Sat, 08 Jun 2019 17:30:06 +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}\")