view src/typemap @ 16519:a147acab726f v8.1.1263

patch 8.1.1263: mouse clicks in WinBar not tested commit https://github.com/vim/vim/commit/66f83111520f299e688eb15e3cb95ec1fa10ba10 Author: Bram Moolenaar <Bram@vim.org> Date: Sat May 4 16:06:12 2019 +0200 patch 8.1.1263: mouse clicks in WinBar not tested Problem: Mouse clicks in WinBar not tested. Solution: Add a test for clicking on the WinBar entries.
author Bram Moolenaar <Bram@vim.org>
date Sat, 04 May 2019 16:15:05 +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}\")