view src/typemap @ 15898:67729676d3f7 v8.1.0955

patch 8.1.0955: matchit autoload directory not in installer commit https://github.com/vim/vim/commit/66ae3d199fdcd732eb79266e913e4e6d2e82ee76 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Feb 19 21:40:28 2019 +0100 patch 8.1.0955: matchit autoload directory not in installer Problem: Matchit autoload directory not in installer. (Chris Morgan) Solution: Adjust the NSIS script. (Christian Brabandt, closes https://github.com/vim/vim/issues/4006)
author Bram Moolenaar <Bram@vim.org>
date Tue, 19 Feb 2019 21:45:08 +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}\")