view src/typemap @ 21327:ec2f5f0b5dcb v8.2.1214

patch 8.2.1214: MS-Windows: default _vimrc not correct in silent install mode Commit: https://github.com/vim/vim/commit/ceb56ddbafbca01e52ff4291d9480bf83d739793 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jul 14 22:24:40 2020 +0200 patch 8.2.1214: MS-Windows: default _vimrc not correct in silent install mode Problem: MS-Windows: default _vimrc not correct in silent install mode. Solution: Add the LoadDefaultVimrc macro. (Ken Takata, closes https://github.com/vim/vim/issues/6451)
author Bram Moolenaar <Bram@vim.org>
date Tue, 14 Jul 2020 22: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}\")