view src/typemap @ 13302:b5806be0b36d v8.0.1525

patch 8.0.1525: using :wqa exits even if a job runs in a terminal window commit https://github.com/vim/vim/commit/7a76092a51fc5446426a4bfd9eb6503ec61bf9e9 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Feb 19 23:10:02 2018 +0100 patch 8.0.1525: using :wqa exits even if a job runs in a terminal window Problem: Using :wqa exits even if a job runs in a terminal window. (Jason Felice) Solution: Check if a terminal has a running job. (closes #2654)
author Christian Brabandt <cb@256bit.org>
date Mon, 19 Feb 2018 23:15: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}\")