view src/typemap @ 12230:42823852a212 v8.0.0995

patch 8.0.0995: terminal tests fail on Mac commit https://github.com/vim/vim/commit/753289f9bf71c0528f00d803a39d017184640e9d Author: Bram Moolenaar <Bram@vim.org> Date: Fri Aug 25 23:22:05 2017 +0200 patch 8.0.0995: terminal tests fail on Mac Problem: Terminal tests fail on Mac. Solution: Add workaround: sleep a moment in between sending keys.
author Christian Brabandt <cb@256bit.org>
date Fri, 25 Aug 2017 23:30:04 +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}\")