view src/typemap @ 24930:b7585162b184 v8.2.3002

patch 8.2.3002: Vim doesn't abort on a fatal Tcl error Commit: https://github.com/vim/vim/commit/affd0bc626560631f1df2e0f68db2f15dbda47e1 Author: Dominique Pelle <dominique.pelle@gmail.com> Date: Tue Jun 15 19:09:43 2021 +0200 patch 8.2.3002: Vim doesn't abort on a fatal Tcl error Problem: Vim doesn't abort on a fatal Tcl error. Solution: Change emsg() to iemsg(). (Dominique Pell?, closes https://github.com/vim/vim/issues/8383)
author Bram Moolenaar <Bram@vim.org>
date Tue, 15 Jun 2021 19: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}\")