view src/typemap @ 13194:3efdd2ae3717 v8.0.1471

patch 8.0.1471: on MS-Windows CursorIM highlighting no longer works commit https://github.com/vim/vim/commit/28944fecff3c40b44325921d45aaf67451b0937f Author: Bram Moolenaar <Bram@vim.org> Date: Sun Feb 4 19:01:31 2018 +0100 patch 8.0.1471: on MS-Windows CursorIM highlighting no longer works Problem: On MS-Windows CursorIM highlighting no longer works. Solution: Adjust #if statements. (Ken Takata)
author Christian Brabandt <cb@256bit.org>
date Sun, 04 Feb 2018 19:15:05 +0100
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}\")