view src/typemap @ 30469:8734a8d7c4ba v9.0.0570

patch 9.0.0570: CI for Windows is still using codecov action 3.1.0 Commit: https://github.com/vim/vim/commit/d3eafdd7098e5e47a3e93474a624cb0ba1a874c9 Author: Philip H <47042125+pheiduck@users.noreply.github.com> Date: Sat Sep 24 13:00:53 2022 +0100 patch 9.0.0570: CI for Windows is still using codecov action 3.1.0 Problem: CI for Windows is still using codecov action 3.1.0. Solution: Use action 3.1.1. (closes https://github.com/vim/vim/issues/11212)
author Bram Moolenaar <Bram@vim.org>
date Sat, 24 Sep 2022 14:15: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}\")