view src/typemap @ 31853:0799b0bf5c6c v9.0.1259

patch 9.0.1259: diffmode test fails Commit: https://github.com/vim/vim/commit/492324e58840f441d7226e7656844e778e65d7fb Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 28 20:57:59 2023 +0000 patch 9.0.1259: diffmode test fails Problem: Diffmode test fails. Solution: Adjust expected result for adjusted indenting.
author Bram Moolenaar <Bram@vim.org>
date Sat, 28 Jan 2023 22:00: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}\")