view src/typemap @ 19868:a2fa2fc0f403 v8.2.0490

patch 8.2.0490: Win32: VTP doesn't respect 'restorescreen' Commit: https://github.com/vim/vim/commit/0afdcf8601792ee751984265b49fc2ca6f8ea858 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Apr 1 18:29:10 2020 +0200 patch 8.2.0490: Win32: VTP doesn't respect 'restorescreen' Problem: Win32: VTP doesn't respect 'restorescreen'. Solution: Use escape codes to switch to alternate screen. (Nobuhiro Takasaki, closes #5872)
author Bram Moolenaar <Bram@vim.org>
date Wed, 01 Apr 2020 18:30: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}\")