view src/typemap @ 32116:2af88d8f87ab v9.0.1389

patch 9.0.1389: Amiga: a couple of include files are included twice Commit: https://github.com/vim/vim/commit/663ee88a8260d69d9310e22f2bfdec49af6a102e Author: =?UTF-8?q?Ola=20S=C3=B6der?= <rolfkopman@gmail.com> Date: Tue Mar 7 15:30:50 2023 +0000 patch 9.0.1389: Amiga: a couple of include files are included twice Problem: Amiga: a couple of include files are included twice. Solution: Remove duplicate includes. (Ola S?der, closes https://github.com/vim/vim/issues/12106)
author Bram Moolenaar <Bram@vim.org>
date Tue, 07 Mar 2023 16:45:04 +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}\")