view src/typemap @ 32531:c8b28054caec v9.0.1597

patch 9.0.1597: cursor ends up below the window after a put Commit: https://github.com/vim/vim/commit/8509014adda188ee8bdf6a2e123fbf15a91b29d2 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jun 1 19:27:08 2023 +0100 patch 9.0.1597: cursor ends up below the window after a put Problem: Cursor ends up below the window after a put. Solution: Mark w_crow and w_botline invalid when changing the cursor line. (closes #12465)
author Bram Moolenaar <Bram@vim.org>
date Thu, 01 Jun 2023 20:30:05 +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}\")