view src/typemap @ 31477:e8fcb04c96c9 v9.0.1071

patch 9.0.1071: Codecov action version is too specific Commit: https://github.com/vim/vim/commit/b5328b46a79d1383fb1d7d193e7271efcf2f996a Author: dundargoc <gocdundar@gmail.com> Date: Sat Dec 17 15:47:45 2022 +0000 patch 9.0.1071: Codecov action version is too specific Problem: Codecov action version is too specific. Solution: Only use "v3" to automatically use the latest stable version. (closes #11720)
author Bram Moolenaar <Bram@vim.org>
date Sat, 17 Dec 2022 17:00:04 +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}\")