view src/typemap @ 17791:55c167b08c2b v8.1.1892

patch 8.1.1892: missing index entry and option menu for 'completepopup' commit https://github.com/vim/vim/commit/36e4d985f0e015b189351d612132d382da9d014d Author: Bram Moolenaar <Bram@vim.org> Date: Tue Aug 20 21:12:16 2019 +0200 patch 8.1.1892: missing index entry and option menu for 'completepopup' Problem: Missing index entry and option menu for 'completepopup'. Solution: Add the entries. Adjust #ifdefs to avoid dead code.
author Bram Moolenaar <Bram@vim.org>
date Tue, 20 Aug 2019 21:15: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}\")