view src/typemap @ 16192:1ab0d1f7807a v8.1.1101

patch 8.1.1101: signals test may fail in the GUI commit https://github.com/vim/vim/commit/690a905a0199f5ff733e5a12be9ba94ae6043ef4 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Apr 2 21:45:41 2019 +0200 patch 8.1.1101: signals test may fail in the GUI Problem: Signals test may fail in the GUI. Solution: Skip the test for the GUI. (Yee Checng Chin, closes https://github.com/vim/vim/issues/4202)
author Bram Moolenaar <Bram@vim.org>
date Tue, 02 Apr 2019 22:00:05 +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}\")