view src/typemap @ 11782:112427b2de52 v8.0.0773

patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails commit https://github.com/vim/vim/commit/f80451e6fe19b3bbddc45ec047a2f95989ef3531 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jul 25 21:49:35 2017 +0200 patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails Problem: Mixing 32 and 64 bit libvterm builds fails. Solution: Use OUTDIR. (Ken Takata)
author Christian Brabandt <cb@256bit.org>
date Tue, 25 Jul 2017 22:00:05 +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}\")