view src/typemap @ 12604:a0199c0efc73 v8.0.1180

patch 8.0.1180: MS-Windows testclean target deletes the color script commit https://github.com/vim/vim/commit/75f69e5a183e00cb5aa05d43c1ecf3b7dead7a98 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Oct 7 20:10:29 2017 +0200 patch 8.0.1180: MS-Windows testclean target deletes the color script Problem: MS-Windows testclean target deletes the color script. Solution: Rename the script file.
author Christian Brabandt <cb@256bit.org>
date Sat, 07 Oct 2017 20:15: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}\")