view src/typemap @ 18037:6a7b778119f1 v8.1.2014

patch 8.1.2014: terminal altscreen test fails sometimes Commit: https://github.com/vim/vim/commit/b9c79cf5cc876ba4d46d938ad4a15800dbe45e64 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 8 22:09:52 2019 +0200 patch 8.1.2014: terminal altscreen test fails sometimes Problem: Terminal altscreen test fails sometimes. Solution: Use WaitFor().
author Bram Moolenaar <Bram@vim.org>
date Sun, 08 Sep 2019 22: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}\")