view src/typemap @ 30031:30c642c58cd4 v9.0.0353

patch 9.0.0353: missing entry in switch Commit: https://github.com/vim/vim/commit/68a635a80a4cccf5b4b7235d886159d52b08f04c Author: Bram Moolenaar <Bram@vim.org> Date: Thu Sep 1 17:26:17 2022 +0100 patch 9.0.0353: missing entry in switch Problem: Missing entry in switch. Solution: Add ISN_ECHOWINDOW.
author Bram Moolenaar <Bram@vim.org>
date Thu, 01 Sep 2022 18:30:02 +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}\")