view src/typemap @ 29928:0c52f8114e16 v9.0.0302

patch 9.0.0302: CI for Coverity is bothered by deprecation warnings Commit: https://github.com/vim/vim/commit/75e9a6693e8d0126b5fff42203bfba9428cd19ae Author: Philip H <47042125+pheiduck@users.noreply.github.com> Date: Sun Aug 28 17:59:05 2022 +0100 patch 9.0.0302: CI for Coverity is bothered by deprecation warnings Problem: CI for Coverity is bothered by deprecation warnings. Solution: Ignore deprecation warnings. (closes https://github.com/vim/vim/issues/11002)
author Bram Moolenaar <Bram@vim.org>
date Sun, 28 Aug 2022 19:00:10 +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}\")