view src/typemap @ 13371:1a3f5759b61e v8.0.1559

patch 8.0.1559: build failure without GUI commit https://github.com/vim/vim/commit/658a154cbf2362c49a9797d9b2b9b69f481cd940 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Mar 3 19:29:43 2018 +0100 patch 8.0.1559: build failure without GUI Problem: Build failure without GUI. Solution: Adjust #ifdef for get_fpos_of_mouse().
author Christian Brabandt <cb@256bit.org>
date Sat, 03 Mar 2018 19:30:06 +0100
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}\")