view src/typemap @ 7397:7ec544daecd5 v7.4.1003

commit https://github.com/vim/vim/commit/7b5f0a15bce11754c47f849b2ddd68ba0909afac Author: Bram Moolenaar <Bram@vim.org> Date: Wed Dec 30 17:40:43 2015 +0100 patch 7.4.1003 Problem: Travis could check a few more things. Solution: Run autoconf on one of the builds. (James McCoy, closes https://github.com/vim/vim/issues/510) Also build with normal features.
author Christian Brabandt <cb@256bit.org>
date Wed, 30 Dec 2015 17:45:03 +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}\")