view src/typemap @ 7103:84d318257a45 v7.4.863

commit https://github.com/vim/vim/commit/43335ea394fe247132b9701c55cccf51e6c36425 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Sep 9 20:59:37 2015 +0200 patch 7.4.863 Problem: plines_nofill() used without the diff feature. Solution: Define PLINES_NOFILL().
author Christian Brabandt <cb@256bit.org>
date Wed, 09 Sep 2015 21:00:04 +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}\")