view src/typemap @ 30521:4573f0cb7210 v9.0.0596

patch 9.0.0596: CI on Mac M1 has the channel feature disabled Commit: https://github.com/vim/vim/commit/7381c0ce3f3e79ec5a74b9be8fc34e0c8181463b Author: Philip H <47042125+pheiduck@users.noreply.github.com> Date: Mon Sep 26 20:17:26 2022 +0100 patch 9.0.0596: CI on Mac M1 has the channel feature disabled Problem: CI on Mac M1 has the channel feature disabled. Solution: Include the channel feature.
author Bram Moolenaar <Bram@vim.org>
date Mon, 26 Sep 2022 21:30:02 +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}\")