view src/typemap @ 17891:18a0d1c9371e v8.1.1942

patch 8.1.1942: shadow directory gets outdated when files are added Commit: https://github.com/vim/vim/commit/58a297b28d2a8127c72bd860c4a7175a5e9c97f3 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Aug 30 13:59:29 2019 +0200 patch 8.1.1942: shadow directory gets outdated when files are added Problem: Shadow directory gets outdated when files are added. Solution: Add the "shadowupdate" target and add a few comments.
author Bram Moolenaar <Bram@vim.org>
date Fri, 30 Aug 2019 14:00:03 +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}\")