view src/typemap @ 11700:dd821396754e v8.0.0733

patch 8.0.0733: can only add entries to one list in the quickfix stack commit https://github.com/vim/vim/commit/a7df8c70c85c793bc4d75abc625d36883ab029cc Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jul 19 13:23:06 2017 +0200 patch 8.0.0733: can only add entries to one list in the quickfix stack Problem: Can only add entries to one list in the quickfix stack. Solution: Move state variables from qf_list_T to qf_list_T. (Yegappan Lakshmanan)
author Christian Brabandt <cb@256bit.org>
date Wed, 19 Jul 2017 13:30:04 +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}\")