view src/typemap @ 17008:837684d76c74 v8.1.1504

patch 8.1.1504: sound test still fails on Travis commit https://github.com/vim/vim/commit/ef23c527bd0abe4770dce14559aac3e5f79a8e17 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jun 9 14:15:29 2019 +0200 patch 8.1.1504: sound test still fails on Travis Problem: Sound test still fails on Travis. Solution: Add more lines to the install section.
author Bram Moolenaar <Bram@vim.org>
date Sun, 09 Jun 2019 14:30:06 +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}\")