view src/typemap @ 14858:49b3bdf774ad v8.1.0441

patch 8.1.0441: build failure without command line history commit https://github.com/vim/vim/commit/d3dc062160b52f2a01900a8b8badb531fb8b3f16 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 30 17:45:30 2018 +0200 patch 8.1.0441: build failure without command line history Problem: Build failure without command line history. Solution: Move cmdline_init() outside of #ifdef.
author Christian Brabandt <cb@256bit.org>
date Sun, 30 Sep 2018 18:00:06 +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}\")