view src/typemap @ 17006:b54d62497f94 v8.1.1503

patch 8.1.1503: sound test fails on Travis commit https://github.com/vim/vim/commit/ffa60dda0a9a443c6751dbcff9d9e7ee07106f0c Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jun 9 13:56:27 2019 +0200 patch 8.1.1503: sound test fails on Travis Problem: Sound test fails on Travis. Solution: Set AUDIODEV to "null".
author Bram Moolenaar <Bram@vim.org>
date Sun, 09 Jun 2019 14:30:05 +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}\")