view src/typemap @ 33240:45da656d550e v9.0.1893

patch 9.0.1893: CI: strptime test fails on BSD14 Commit: https://github.com/vim/vim/commit/983d808674f998eaea12b302028de45f1c6857cd Author: Christian Brabandt <cb@256bit.org> Date: Sun Sep 10 19:06:09 2023 +0200 patch 9.0.1893: CI: strptime test fails on BSD14 Problem: CI: strptime test fails on BSD14 Solution: Skip the test Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Sun, 10 Sep 2023 19:15: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}\")