view src/typemap @ 18303:86887d3fd6f7 v8.1.2146

patch 8.1.2146: build failure Commit: https://github.com/vim/vim/commit/1e7b52ad8a5e34b9e7a2d12a09765d76d446cd5a Author: Bram Moolenaar <Bram@vim.org> Date: Sun Oct 13 16:59:08 2019 +0200 patch 8.1.2146: build failure Problem: Build failure. Solution: Include omitted changed file.
author Bram Moolenaar <Bram@vim.org>
date Sun, 13 Oct 2019 17: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}\")