view src/typemap @ 13732:8ca1da2a043b v8.0.1738

patch 8.0.1738: ":args" output is hard to read commit https://github.com/vim/vim/commit/5d69da462f584a3aefb3427b127334bf9af3a4b0 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Apr 20 22:01:41 2018 +0200 patch 8.0.1738: ":args" output is hard to read Problem: ":args" output is hard to read. Solution: Make columns with the names if the output is more than one line.
author Christian Brabandt <cb@256bit.org>
date Fri, 20 Apr 2018 22:15:06 +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}\")