view src/typemap @ 16087:e992f31274b7 v8.1.1048

patch 8.1.1048: minor issues with tests commit https://github.com/vim/vim/commit/b45125b374cc3a1cef176b704f518c72c518f24c Author: Bram Moolenaar <Bram@vim.org> Date: Sun Mar 24 20:18:40 2019 +0100 patch 8.1.1048: minor issues with tests Problem: Minor issues with tests. Solution: Delete unused test OK file. Add missing entries in list of tests. Fix readme file. (Masato Nishihata, closes #4160)
author Bram Moolenaar <Bram@vim.org>
date Sun, 24 Mar 2019 20:30:05 +0100
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}\")