view src/typemap @ 11486:1658ac359af1 v8.0.0626

patch 8.0.0626: in the GUI the cursor may flicker commit https://github.com/vim/vim/commit/e21d69eec1870a3f4732653aa8ee25d5da10128c Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jun 5 19:32:32 2017 +0200 patch 8.0.0626: in the GUI the cursor may flicker Problem: In the GUI the cursor may flicker. Solution: Check the cmd_silent flag before updating the cursor shape. (Hirohito Higashi, closes #1637)
author Christian Brabandt <cb@256bit.org>
date Mon, 05 Jun 2017 19:45:03 +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}\")