view src/typemap @ 11169:f4971739ea47 v8.0.0471

patch 8.0.0471: exit callback test sometimes fails commit https://github.com/vim/vim/commit/0529b3eb01fcfd18c0644f8ece9ea107dd460a0f Author: Bram Moolenaar <Bram@vim.org> Date: Thu Mar 16 22:30:37 2017 +0100 patch 8.0.0471: exit callback test sometimes fails Problem: Exit callback test sometimes fails. Solution: Add it to the list of flaky tests.
author Christian Brabandt <cb@256bit.org>
date Thu, 16 Mar 2017 22: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}\")