view src/typemap @ 11668:26265ac3b7ed v8.0.0717

patch 8.0.0717: terminal feature precence unclear commit https://github.com/vim/vim/commit/26e8558e74fc1701b57f092cc2c3dbf879cf1af3 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jul 15 20:05:54 2017 +0200 patch 8.0.0717: terminal feature precence unclear Problem: Terminal feature not included in :version output. Solution: Add +terminal or -terminal.
author Christian Brabandt <cb@256bit.org>
date Sat, 15 Jul 2017 20:15: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}\")