view src/typemap @ 19001:1ebfb46710cd v8.2.0061

patch 8.2.0061: the execute stack can grow big and never shrinks Commit: https://github.com/vim/vim/commit/3fbcc128cbd2311819cc5a7bb89e45669860f008 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Dec 30 19:19:53 2019 +0100 patch 8.2.0061: the execute stack can grow big and never shrinks Problem: The execute stack can grow big and never shrinks. Solution: Reduce the size in gargage collect.
author Bram Moolenaar <Bram@vim.org>
date Mon, 30 Dec 2019 19:30:03 +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}\")