view src/typemap @ 18041:060e1b1220c6 v8.1.2016

patch 8.1.2016: terminal altscreen test now fails on MS-Windows Commit: https://github.com/vim/vim/commit/adbde3fbedd4a5379ddf0cfc9a6854b52955fd4a Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 8 22:57:14 2019 +0200 patch 8.1.2016: terminal altscreen test now fails on MS-Windows Problem: Terminal altscreen test now fails on MS-Windows. Solution: Skip the test on MS-Windows
author Bram Moolenaar <Bram@vim.org>
date Sun, 08 Sep 2019 23:00: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}\")