view src/typemap @ 12156:ee8ead988f2c v8.0.0958

patch 8.0.0958: terminal test fails on Windows when winpty dll is missing commit https://github.com/vim/vim/commit/ea5d6fadbbba614e51e819cb537a3d52600bfcc5 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Aug 18 21:07:11 2017 +0200 patch 8.0.0958: terminal test fails on Windows when winpty dll is missing Problem: The terminal test fails on MS-Windows when compiled with the terminal feature but the winpty DLL is missing. Solution: Check if the terminal feature works. (Ken Takata)
author Christian Brabandt <cb@256bit.org>
date Fri, 18 Aug 2017 21:15: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}\")