view src/typemap @ 14124:b9b0e4966e7a v8.1.0079

patch 8.1.0079: superfluous space in messages commit https://github.com/vim/vim/commit/8df6e5d4670891608e791244b0c2ec0db387f710 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jun 19 14:45:37 2018 +0200 patch 8.1.0079: superfluous space in messages Problem: Superfluous space in messages. Solution: Remove the spaces. (closes https://github.com/vim/vim/issues/3030)
author Christian Brabandt <cb@256bit.org>
date Tue, 19 Jun 2018 15:00:07 +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}\")