view src/typemap @ 19023:9afeb0d2c4ab v8.2.0072

patch 8.2.0072: memory test still fails on Cirrus CI Commit: https://github.com/vim/vim/commit/bb062c1588c324a1ce4cf01fd5e0780e83aaabe4 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jan 1 15:26:32 2020 +0100 patch 8.2.0072: memory test still fails on Cirrus CI Problem: Memory test still fails on Cirrus CI. Solution: Allow for a tiny bit more tolerance in the upper limit.
author Bram Moolenaar <Bram@vim.org>
date Wed, 01 Jan 2020 15:30: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}\")