view src/typemap @ 12291:c3548d947646 v8.0.1025

patch 8.0.1025: stray copy command in test commit https://github.com/vim/vim/commit/4e83961985abb78757b135f29ac4ffde675247af Author: Bram Moolenaar <Bram@vim.org> Date: Wed Aug 30 21:58:03 2017 +0200 patch 8.0.1025: stray copy command in test Problem: Stray copy command in test. Solution: Remove the copy command.
author Christian Brabandt <cb@256bit.org>
date Wed, 30 Aug 2017 22: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}\")