view src/typemap @ 27283:b4d92a69035b v8.2.4170

patch 8.2.4170: MS-Windows: still using old message API calls Commit: https://github.com/vim/vim/commit/b7057bdd090ddcce96dc058e4e65340c8ec961d7 Author: K.Takata <kentkt@csc.jp> Date: Fri Jan 21 11:37:07 2022 +0000 patch 8.2.4170: MS-Windows: still using old message API calls Problem: MS-Windows: still using old message API calls. Solution: Call the "W" functions directly. (Ken Takata, closes https://github.com/vim/vim/issues/9582)
author Bram Moolenaar <Bram@vim.org>
date Fri, 21 Jan 2022 12:45:03 +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}\")