view src/typemap @ 30265:8507a5b2c031 v9.0.0468

patch 9.0.0468: exectution stack underflow without the +eval feature Commit: https://github.com/vim/vim/commit/aeef1f7f6d8f6d4e84ffc9a24874f10403e4ddcd Author: Bram Moolenaar <Bram@vim.org> Date: Thu Sep 15 12:20:18 2022 +0100 patch 9.0.0468: exectution stack underflow without the +eval feature Problem: Exectution stack underflow without the +eval feature. (Dominique Pell?) Solution: Add to execution stack without FEAT_EVAL. (closes #11135)
author Bram Moolenaar <Bram@vim.org>
date Thu, 15 Sep 2022 13:30:05 +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}\")