view src/typemap @ 24406:a26f0fa12845 v8.2.2743

patch 8.2.2743: Vim9: function state stuck when compiling with ":silent!" Commit: https://github.com/vim/vim/commit/599410cb3cb19946cd6df22441da5de003e114bb Author: Bram Moolenaar <Bram@vim.org> Date: Sat Apr 10 14:03:43 2021 +0200 patch 8.2.2743: Vim9: function state stuck when compiling with ":silent!" Problem: Vim9: function state stuck when compiling with ":silent!". Solution: Check for uf_def_status to be UF_COMPILING.
author Bram Moolenaar <Bram@vim.org>
date Sat, 10 Apr 2021 14:15:03 +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}\")