view src/typemap @ 24335:3f96a5dc0c53 v8.2.2708

patch 8.2.2708: test sometimes fails waiting for shell in terminal Commit: https://github.com/vim/vim/commit/3a6aadb3289be5114db6cce1c8c18b3f5f14d17c Author: Bram Moolenaar <Bram@vim.org> Date: Sun Apr 4 15:28:59 2021 +0200 patch 8.2.2708: test sometimes fails waiting for shell in terminal Problem: Test sometimes fails waiting for shell in terminal. Solution: Use WaitForAssert() so we can see the actual job status. Use Run_shell_in_terminal().
author Bram Moolenaar <Bram@vim.org>
date Sun, 04 Apr 2021 15: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}\")