view src/typemap @ 17549:e5dabc127143 v8.1.1772

patch 8.1.1772: options test still fails on MS-Windows commit https://github.com/vim/vim/commit/b78564d0221089e6dfc9c9d58239c18b991ca9fe Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jul 28 19:24:36 2019 +0200 patch 8.1.1772: options test still fails on MS-Windows Problem: Options test still fails on MS-Windows. Solution: Check buffer-local value of 'completeslash'.
author Bram Moolenaar <Bram@vim.org>
date Sun, 28 Jul 2019 19:30: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}\")