view src/typemap @ 26604:d54a39ec6d43 v8.2.3831

patch 8.2.3831: opfunc test fails when missing feature changes function name Commit: https://github.com/vim/vim/commit/23e72369ffa2c18e9fda1e5d77f4397dc4700764 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Dec 16 21:07:35 2021 +0000 patch 8.2.3831: opfunc test fails when missing feature changes function name Problem: Opfunc test fails when missing feature changes function name. (Dominique Pell?) Solution: Check the relevant screen line instead of using a screendump. (closes #9360)
author Bram Moolenaar <Bram@vim.org>
date Thu, 16 Dec 2021 22:15: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}\")