view src/typemap @ 27861:6c87f679ed29 v8.2.4456

patch 8.2.4456: terminal test may fail on some machines Commit: https://github.com/vim/vim/commit/dd2dfb3cb00d47d2e8248c4e9d2cdf51e1574b79 Author: Zdenek Dohnal <zdohnal@redhat.com> Date: Wed Feb 23 14:25:17 2022 +0000 patch 8.2.4456: terminal test may fail on some machines Problem: Terminal test may fail on some machines. Solution: Increase wait time. (Zdenek Dohnal, closes https://github.com/vim/vim/issues/9834)
author Bram Moolenaar <Bram@vim.org>
date Wed, 23 Feb 2022 15:30:05 +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}\")