view src/typemap @ 28142:7dec326adb36 v8.2.4595

patch 8.2.4595: X11: using --remote-wait may keep the CPU busy Commit: https://github.com/vim/vim/commit/6f953636771fe90e593b1c0ec883c261f6dc1bbb Author: jsecchiero <secchierojacopo@gmail.com> Date: Sun Mar 20 11:07:17 2022 +0000 patch 8.2.4595: X11: using --remote-wait may keep the CPU busy Problem: X11: using --remote-wait may keep the CPU busy. Solution: Set the timeout for select() on every call. (Jacopo Secchiero, closes #9973)
author Bram Moolenaar <Bram@vim.org>
date Sun, 20 Mar 2022 12:15: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}\")