view src/typemap @ 15229:34f71bcceecd v8.1.0624

patch 8.1.0624: overuling CONF_ARGS from the environment still does not work commit https://github.com/vim/vim/commit/39b5d8b514a0022899a09ba097997099d861dcff Author: Bram Moolenaar <Bram@vim.org> Date: Sat Dec 22 17:27:15 2018 +0100 patch 8.1.0624: overuling CONF_ARGS from the environment still does not work Problem: Overuling CONF_ARGS from the environment still does not work. (Tony Mechelynck) Solution: Add back CONF_ARGS next to the new numbered ones.
author Bram Moolenaar <Bram@vim.org>
date Sat, 22 Dec 2018 17:30:05 +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}\")