view src/typemap @ 16831:f42aa3d90b12 v8.1.1417

patch 8.1.1417: MS-Windows: resolve() does not resolve all components of path commit https://github.com/vim/vim/commit/1bbebab5255b5300d727c9b3f1b308205847dafd Author: Bram Moolenaar <Bram@vim.org> Date: Wed May 29 20:36:54 2019 +0200 patch 8.1.1417: MS-Windows: resolve() does not resolve all components of path Problem: MS-Windows: resolve() does not resolve all components of the path. (David Briscoe) Solution: Do not bail out for a reparse point. (Yasuhiro Matsumoto, closes #4211, closes #4447)
author Bram Moolenaar <Bram@vim.org>
date Wed, 29 May 2019 20:45: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}\")