view src/typemap @ 27346:71d606960955 v8.2.4201

patch 8.2.4201: when using the GUI CTRL-Z does not stop gvim Commit: https://github.com/vim/vim/commit/8e4af851fd3eff4b22fca962e5be783742e8f1bb Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jan 24 12:20:45 2022 +0000 patch 8.2.4201: when using the GUI CTRL-Z does not stop gvim Problem: When using the GUI CTRL-Z does not stop gvim. Solution: When using the GUI set SIGTSTP to SIG_DFL. (Andrew Maltsev, closes #9570)
author Bram Moolenaar <Bram@vim.org>
date Mon, 24 Jan 2022 13:30:04 +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}\")