view src/typemap @ 30729:cb32822d2730 v9.0.0699

patch 9.0.0699: tiny build fails Commit: https://github.com/vim/vim/commit/bf499c0e6f30a94fe062f83ea0190f93178d0d74 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Oct 8 17:55:32 2022 +0100 patch 9.0.0699: tiny build fails Problem: Tiny build fails. Solution: Add #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Sat, 08 Oct 2022 19:00:03 +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}\")