view src/typemap @ 25976:7b2e2b9617ee v8.2.3521

patch 8.2.3521: options completion test fails Commit: https://github.com/vim/vim/commit/abdcfd1c837e244065d4fe04c7a78abae5af3f7e Author: Bram Moolenaar <Bram@vim.org> Date: Sat Oct 16 16:48:27 2021 +0100 patch 8.2.3521: options completion test fails Problem: Options completion test fails. Solution: Add 'thesaurusfunc' to the results.
author Bram Moolenaar <Bram@vim.org>
date Sat, 16 Oct 2021 18:00:05 +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}\")