view src/typemap @ 26290:f8357556b2f3 v8.2.3676

patch 8.2.3676: unused runtime file Commit: https://github.com/vim/vim/commit/309ce251897512d42da2b0df0ff100dc303e688a Author: Bram Moolenaar <Bram@vim.org> Date: Thu Nov 25 15:11:03 2021 +0000 patch 8.2.3676: unused runtime file Problem: Unused runtime file. Solution: Remove rgb.txt.
author Bram Moolenaar <Bram@vim.org>
date Thu, 25 Nov 2021 16:15:02 +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}\")