view src/typemap @ 16900:aad59f9fe253 v8.1.1451

patch 8.1.1451: CTRL-L does not clear screen with a popup window commit https://github.com/vim/vim/commit/ca2f7037c1a53bdbb6f5dc0a2f92d50020e062cc Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jun 2 15:56:15 2019 +0200 patch 8.1.1451: CTRL-L does not clear screen with a popup window Problem: CTRL-L does not clear screen with a popup window. Solution: Do not change the type to NOT_VALID. Redraw all windows. (closes #4471)
author Bram Moolenaar <Bram@vim.org>
date Sun, 02 Jun 2019 16:00: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}\")