view src/typemap @ 20820:3e606a19fa13 v8.2.0962

patch 8.2.0962: terminal test sometimes hangs on Travis Commit: https://github.com/vim/vim/commit/f6e020b1225970d95e6848b79066f82d9e65b66c Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jun 12 20:11:55 2020 +0200 patch 8.2.0962: terminal test sometimes hangs on Travis Problem: Terminal test sometimes hangs on Travis. Solution: Do show output for this test temporarily.
author Bram Moolenaar <Bram@vim.org>
date Fri, 12 Jun 2020 20:15: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}\")