view src/typemap @ 30882:7449da0e006b v9.0.0775

patch 9.0.0775: MS-Windows: mouse scrolling not supported in the console Commit: https://github.com/vim/vim/commit/2a46f81ec7739967265759838afe7972e5f81e5e Author: Christopher Plewright <chris@createng.com> Date: Sun Oct 16 19:47:45 2022 +0100 patch 9.0.0775: MS-Windows: mouse scrolling not supported in the console Problem: MS-Windows: mouse scrolling not supported in the console. Solution: Add event handling for mouse scroll events. (Christopher Plewright, closes #11374)
author Bram Moolenaar <Bram@vim.org>
date Sun, 16 Oct 2022 21: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}\")