view src/typemap @ 29898:3276298c67c5 v9.0.0287

patch 9.0.0287: Irix systems no longer exist Commit: https://github.com/vim/vim/commit/aebc6ef7cdc5d4d0627a711ff66e6fe8d67f9d87 Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Sat Aug 27 21:24:26 2022 +0100 patch 9.0.0287: Irix systems no longer exist Problem: Irix systems no longer exist. Solution: Remove references to Irix. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/10994)
author Bram Moolenaar <Bram@vim.org>
date Sat, 27 Aug 2022 22:30: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}\")