view src/typemap @ 13485:f717be87320c v8.0.1616

patch 8.0.1616: Win32: shell commands in the GUI open a new console commit https://github.com/vim/vim/commit/f05fa378229004fb64493b411b864709ce7da453 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Mar 18 19:29:34 2018 +0100 patch 8.0.1616: Win32: shell commands in the GUI open a new console Problem: Win32: shell commands in the GUI open a new console. Solution: Use a terminal window for interactive use when 'guioptions' contains "!".
author Christian Brabandt <cb@256bit.org>
date Sun, 18 Mar 2018 19:30:07 +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}\")