view src/typemap @ 16378:3d6b282e2d6e v8.1.1194

patch 8.1.1194: typos and small problems in source files commit https://github.com/vim/vim/commit/ad3ec76bb8030b9a1d3f0a49c374d0de2383b977 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Apr 21 00:00:13 2019 +0200 patch 8.1.1194: typos and small problems in source files Problem: Typos and small problems in source files. Solution: Small fixes.
author Bram Moolenaar <Bram@vim.org>
date Sun, 21 Apr 2019 00:15: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}\")