view src/typemap @ 13446:b18e5f37c44b v8.0.1597

patch 8.0.1597: autocommand events are not sorted commit https://github.com/vim/vim/commit/e87303af3236b8fb5e1e3be4d0e2209344fbf8b2 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Mar 11 17:02:12 2018 +0100 patch 8.0.1597: autocommand events are not sorted Problem: Autocommand events are not sorted. Solution: Sort the autocommand events.
author Christian Brabandt <cb@256bit.org>
date Sun, 11 Mar 2018 17:15: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}\")