view src/typemap @ 18524:ef397aa47dd4 v8.1.2256

patch 8.1.2256: test for ":term ++shell" fails on MS-Windows Commit: https://github.com/vim/vim/commit/e5a3272d32ad52f905ef3e66991871dbef2245e7 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Nov 4 23:36:29 2019 +0100 patch 8.1.2256: test for ":term ++shell" fails on MS-Windows Problem: Test for ":term ++shell" fails on MS-Windows. Solution: Accept failure of "dir" executable.
author Bram Moolenaar <Bram@vim.org>
date Mon, 04 Nov 2019 23:45:04 +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}\")