view src/typemap @ 21457:26bdc67a3918 v8.2.1279

patch 8.2.1279: some tests on Travis have EXITFREE duplicated Commit: https://github.com/vim/vim/commit/8d5f6af5e5a5edfd3fa95f33540c204f4e74331e Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jul 23 15:50:40 2020 +0200 patch 8.2.1279: some tests on Travis have EXITFREE duplicated Problem: Some tests on Travis have EXITFREE duplicated. Solution: Remove EXITFREE from shadowopt. Add "shadow" to job name.
author Bram Moolenaar <Bram@vim.org>
date Thu, 23 Jul 2020 16:00:03 +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}\")