view src/typemap @ 10365:0dd0c7fb1096 v8.0.0077

commit https://github.com/vim/vim/commit/e3505dfc858260a21f2bbc6056f5769dea2f273d Author: Bram Moolenaar <Bram@vim.org> Date: Fri Nov 11 21:57:45 2016 +0100 patch 8.0.0077 Problem: The GUI code is not tested by Travis. Solution: Install the virtual framebuffer.
author Christian Brabandt <cb@256bit.org>
date Fri, 11 Nov 2016 22:00:04 +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}\")