view src/typemap @ 11022:ca8f2d24a79c v8.0.0400

patch 8.0.0400: some tests have a one second delay commit https://github.com/vim/vim/commit/358f6b0a36d25e0e2f8f1fc625974816b71fa50a Author: Bram Moolenaar <Bram@vim.org> Date: Thu Mar 2 22:43:01 2017 +0100 patch 8.0.0400: some tests have a one second delay Problem: Some tests have a one second delay. Solution: Add --not-a-term in RunVim().
author Christian Brabandt <cb@256bit.org>
date Thu, 02 Mar 2017 22:45:05 +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}\")