view src/typemap @ 17547:1b8463f97365 v8.1.1771

patch 8.1.1771: options test fails on MS-Windows commit https://github.com/vim/vim/commit/d4404b4391a0cd3ab197e09bee7828c88882f6b2 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jul 28 18:38:09 2019 +0200 patch 8.1.1771: options test fails on MS-Windows Problem: Options test fails on MS-Windows. Solution: Add correct and incorrect values for 'completeslash'.
author Bram Moolenaar <Bram@vim.org>
date Sun, 28 Jul 2019 18:45:04 +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}\")