view src/typemap @ 28150:0fa25a1b8451 v8.2.4599

patch 8.2.4599: GTK: get assertion errors when scrolling a split window Commit: https://github.com/vim/vim/commit/a4df834a92535cf124afd1c3b711b4a7109e3534 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Mar 20 15:43:01 2022 +0000 patch 8.2.4599: GTK: get assertion errors when scrolling a split window Problem: GTK: get assertion errors when scrolling a split window. Solution: Use GDK_IS_DRAWABLE() on the scrollbar window. (closes https://github.com/vim/vim/issues/9982)
author Bram Moolenaar <Bram@vim.org>
date Sun, 20 Mar 2022 16:45:03 +0100
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}\")