view src/typemap @ 26321:a74dd2014b04 v8.2.3691

patch 8.2.3691: build failure with small features Commit: https://github.com/vim/vim/commit/f566666e888685b6442a0e7f34c73ba56f6db49a Author: Bram Moolenaar <Bram@vim.org> Date: Sun Nov 28 21:33:36 2021 +0000 patch 8.2.3691: build failure with small features Problem: Build failure with small features. Solution: Add #ifdef. (Dominique Pell?)
author Bram Moolenaar <Bram@vim.org>
date Sun, 28 Nov 2021 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}\")