view src/typemap @ 16144:4850744dc181 v8.1.1077

patch 8.1.1077: reg_executing() is reset by calling input() commit https://github.com/vim/vim/commit/9a2c091a748b380efafe60583698c9afcaab1e46 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Mar 30 14:26:18 2019 +0100 patch 8.1.1077: reg_executing() is reset by calling input() Problem: reg_executing() is reset by calling input(). Solution: Implement a more generic way to save and restore reg_executing. (Ozaki Kiichi, closes #4192)
author Bram Moolenaar <Bram@vim.org>
date Sat, 30 Mar 2019 14:30: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}\")