view src/typemap @ 28658:3a4ed4d1080d v8.2.4853

patch 8.2.4853: CI with FreeBSD is a bit outdated Commit: https://github.com/vim/vim/commit/056a1c2bdda526c31c42cc1b7752073981642940 Author: Philip H <47042125+pheiduck@users.noreply.github.com> Date: Sun May 1 20:43:50 2022 +0100 patch 8.2.4853: CI with FreeBSD is a bit outdated Problem: CI with FreeBSD is a bit outdated. Solution: Use 12.3 instead of 12.1. (closes https://github.com/vim/vim/issues/10333)
author Bram Moolenaar <Bram@vim.org>
date Sun, 01 May 2022 21:45:04 +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}\")