view src/typemap @ 19711:831a3f3be6f4 v8.2.0412

patch 8.2.0412: MS-Windows: cannot use vimtutor from the start menu Commit: https://github.com/vim/vim/commit/37f471df6ee422beb4d08ee4ccda35f8279e3bb7 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Mar 19 17:13:40 2020 +0100 patch 8.2.0412: MS-Windows: cannot use vimtutor from the start menu Problem: MS-Windows: cannot use vimtutor from the start menu. Solution: Better check for writable directory. Use the right path for the executable. (Wu Yongwei, closes #5774, closes #5756)
author Bram Moolenaar <Bram@vim.org>
date Thu, 19 Mar 2020 17:15:04 +0100
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}\")