view src/typemap @ 27445:31b0d8898489 v8.2.4251

patch 8.2.4251: vala files are not recognized Commit: https://github.com/vim/vim/commit/97c554d5149c2aa4a43d689c59563e77277265d4 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 29 12:45:47 2022 +0000 patch 8.2.4251: vala files are not recognized Problem: Vala files are not recognized. Solution: Add the *.vala pattern. (closes https://github.com/vim/vim/issues/9654)
author Bram Moolenaar <Bram@vim.org>
date Sat, 29 Jan 2022 14:00: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}\")