view src/typemap @ 24788:b36ceac30454 v8.2.2932

patch 8.2.2932: select mode test fails Commit: https://github.com/vim/vim/commit/4f3c57f7980592b25f483e5953799c010a8ae196 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jun 3 22:11:08 2021 +0200 patch 8.2.2932: select mode test fails Problem: Select mode test fails. Solution: Do not always reset the held mouse button.
author Bram Moolenaar <Bram@vim.org>
date Thu, 03 Jun 2021 22:15: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}\")