view src/typemap @ 26422:4397cc04f2b1 v8.2.3742

patch 8.2.3742: dec mouse test fails without gnome terminfo entry Commit: https://github.com/vim/vim/commit/f589fd3e1047cdf90566b68aaf9a13389e54d26a Author: Dominique Pelle <dominique.pelle@gmail.com> Date: Sun Dec 5 12:39:21 2021 +0000 patch 8.2.3742: dec mouse test fails without gnome terminfo entry Problem: Dec mouse test fails without gnome terminfo entry. Solution: Check if there is a gnome entry. Also fix 'acd' test on MS-Windows. (Dominique Pell?, closes #9282)
author Bram Moolenaar <Bram@vim.org>
date Sun, 05 Dec 2021 13:45:03 +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}\")