view src/typemap @ 14662:04c168a6d998 v8.1.0344

patch 8.1.0344: 'hlsearch' highlighting has a gap after /$ commit https://github.com/vim/vim/commit/7ee3f15b21042cb8148980ea486137eaf1b55bcd Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 2 15:07:28 2018 +0200 patch 8.1.0344: 'hlsearch' highlighting has a gap after /$ Problem: 'hlsearch' highlighting has a gap after /$. Solution: Remove suspicious code. (Ricky Zhou, closes https://github.com/vim/vim/issues/3400)
author Christian Brabandt <cb@256bit.org>
date Sun, 02 Sep 2018 15:15:07 +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}\")