view src/typemap @ 17266:a9556c0ba457 v8.1.1632

patch 8.1.1632: build with EXITFREE but without +arabic fails commit https://github.com/vim/vim/commit/48ac671fe5cb5a7c2d5263d2f122e5e903022e30 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jul 4 20:26:21 2019 +0200 patch 8.1.1632: build with EXITFREE but without +arabic fails Problem: Build with EXITFREE but without +arabic fails. Solution: Rename the function and adjust #ifdefs. (closes https://github.com/vim/vim/issues/4613)
author Bram Moolenaar <Bram@vim.org>
date Thu, 04 Jul 2019 20:30: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}\")