view src/typemap @ 29824:9fdb54a36a5d v9.0.0251

patch 9.0.0251: test output shows up in git Commit: https://github.com/vim/vim/commit/762df0477c32065498805e09c15adc468a6cc8ea Author: huang06 <tom4996131207@gmail.com> Date: Wed Aug 24 11:26:16 2022 +0100 patch 9.0.0251: test output shows up in git Problem: Test output shows up in git. Solution: Ignore the "failed" directory. (Yao-Ching Huang, closes https://github.com/vim/vim/issues/10969)
author Bram Moolenaar <Bram@vim.org>
date Wed, 24 Aug 2022 12:30:03 +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}\")