view src/typemap @ 15178:5c3ca8f7adea v8.1.0599

patch 8.1.0599: without the +eval feature the indent tests don't work commit https://github.com/vim/vim/commit/eeed665b0ecd917e88e3475c9615d52546aa124d Author: Bram Moolenaar <Bram@vim.org> Date: Sat Dec 15 17:43:42 2018 +0100 patch 8.1.0599: without the +eval feature the indent tests don't work Problem: Without the +eval feature the indent tests don't work. Solution: Skip the body of the tests.
author Bram Moolenaar <Bram@vim.org>
date Sat, 15 Dec 2018 17:45: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}\")