view src/typemap @ 30950:6d2095a8499d v9.0.0809

patch 9.0.0809: test for job writing to buffer fails Commit: https://github.com/vim/vim/commit/63c84731c1802bac36c1d1a82b3ef5960b35b089 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Oct 20 21:14:19 2022 +0100 patch 9.0.0809: test for job writing to buffer fails Problem: Test for job writing to buffer fails. Solution: Correct w_topline when deleting a buffer line.
author Bram Moolenaar <Bram@vim.org>
date Thu, 20 Oct 2022 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}\")