view src/typemap @ 22820:d05319bbf63b v8.2.1958

patch 8.2.1958: build failure with timers Commit: https://github.com/vim/vim/commit/b885b435d126d34475714e39ec1125bd4e1c77c6 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Nov 5 19:34:41 2020 +0100 patch 8.2.1958: build failure with timers Problem: Build failure with timers. Solution: Add missing change.
author Bram Moolenaar <Bram@vim.org>
date Thu, 05 Nov 2020 19: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}\")