view src/typemap @ 16776:7d4c814a8554 v8.1.1390

patch 8.1.1390: search stats are off when using count or offset commit https://github.com/vim/vim/commit/8f46e4c4bde13fd5ad68a6670b79cc462b65fbec Author: Bram Moolenaar <Bram@vim.org> Date: Fri May 24 22:08:15 2019 +0200 patch 8.1.1390: search stats are off when using count or offset Problem: Search stats are off when using count or offset. Solution: Recompute the stats when needed. (Masato Nishihata, closes https://github.com/vim/vim/issues/4410)
author Bram Moolenaar <Bram@vim.org>
date Fri, 24 May 2019 22: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}\")