view src/typemap @ 17259:6dbb9b3c53e2 v8.1.1629

patch 8.1.1629: terminal function help is in the wrong file commit https://github.com/vim/vim/commit/6bf2c6264b5ebbe4981751840c5a8b69da08e744 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jul 4 17:12:09 2019 +0200 patch 8.1.1629: terminal function help is in the wrong file Problem: Terminal function help is in the wrong file. Solution: Move the function details to terminal.txt.
author Bram Moolenaar <Bram@vim.org>
date Thu, 04 Jul 2019 17:15:07 +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}\")