view src/typemap @ 27404:de98b9219c15 v8.2.4230

patch 8.2.4230: MS-Windows: set_guifontwide() is included but won't work Commit: https://github.com/vim/vim/commit/94373c48e7e438e5b924b34ce820e9b2eb9f810c Author: K.Takata <kentkt@csc.jp> Date: Thu Jan 27 15:04:22 2022 +0000 patch 8.2.4230: MS-Windows: set_guifontwide() is included but won't work Problem: MS-Windows: set_guifontwide() is included but won't work. Solution: Include set_guifontwide() only for X11. (Ken Takata, closes https://github.com/vim/vim/issues/9640)
author Bram Moolenaar <Bram@vim.org>
date Thu, 27 Jan 2022 16: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}\")