view src/typemap @ 30548:84ea6d876d43 v9.0.0609

patch 9.0.0609: blockedit test fails because of wrong indent Commit: https://github.com/vim/vim/commit/66000ff9af8e3de93825ce7baa0c43727465eca5 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Sep 27 17:47:12 2022 +0100 patch 9.0.0609: blockedit test fails because of wrong indent Problem: Blockedit test fails because of wrong indent. Solution: Adjust the expected text temporarily
author Bram Moolenaar <Bram@vim.org>
date Tue, 27 Sep 2022 19:00: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}\")