view src/typemap @ 30393:409ddc3fa5ce v9.0.0532

patch 9.0.0532: edit test is flaky when run under valgrind Commit: https://github.com/vim/vim/commit/14f91765c07e147e0c8554a50560ae24dbd5ecea Author: Bram Moolenaar <Bram@vim.org> Date: Wed Sep 21 15:13:52 2022 +0100 patch 9.0.0532: edit test is flaky when run under valgrind Problem: Edit test is flaky when run under valgrind. Solution: Send some text to the terminal to trigger a redraw.
author Bram Moolenaar <Bram@vim.org>
date Wed, 21 Sep 2022 16:15:04 +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}\")