view src/typemap @ 13776:ef6de4674811 v8.0.1760

patch 8.0.1760: wrong number of arguments to vms_read() commit https://github.com/vim/vim/commit/4994373c5db80f8fd57e802997ae430afa5ec9ec Author: Bram Moolenaar <Bram@vim.org> Date: Tue Apr 24 20:27:26 2018 +0200 patch 8.0.1760: wrong number of arguments to vms_read() Problem: Wrong number of arguments to vms_read(). Solution: Drop the first argument. (Ozaki Kiichi)
author Christian Brabandt <cb@256bit.org>
date Tue, 24 Apr 2018 20:30:09 +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}\")