view src/typemap @ 27359:e5c83812d173

Added tag v8.2.4207 for changeset 609a8ff1a5d27910c9a4abdbfdf1cfb9b8c2a0ef
author Bram Moolenaar <Bram@vim.org>
date Mon, 24 Jan 2022 19:45:03 +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}\")