view src/typemap @ 19814:e7bbf6cadc9e v8.2.0464

patch 8.2.0464: typos and other small problems Commit: https://github.com/vim/vim/commit/2d9d409ad4fab1ae7ceaecc0ef0e9b511d868374 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Mar 27 20:52:45 2020 +0100 patch 8.2.0464: typos and other small problems Problem: Typos and other small problems. Solution: Fix the typos. Add missing file to distribution.
author Bram Moolenaar <Bram@vim.org>
date Fri, 27 Mar 2020 21:00:06 +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}\")