view src/typemap @ 18442:4fd68dcf6d88 v8.1.2215

patch 8.1.2215: unreachable code in adjusting text prop columns Commit: https://github.com/vim/vim/commit/7aee6876eb4a66cc9d475e30bb58c060e7d4e90e Author: Bram Moolenaar <Bram@vim.org> Date: Fri Oct 25 21:49:38 2019 +0200 patch 8.1.2215: unreachable code in adjusting text prop columns Problem: Unreachable code in adjusting text prop columns. Solution: Remove the code. (Christian Brabandt)
author Bram Moolenaar <Bram@vim.org>
date Fri, 25 Oct 2019 22:00:04 +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}\")