view src/typemap @ 14181:a36fb263c35e v8.1.0108

patch 8.1.0108: no Danish translations commit https://github.com/vim/vim/commit/a4a2934e59429e2ff68d478556ad8b2043fb0fda Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jun 24 15:52:56 2018 +0200 patch 8.1.0108: no Danish translations Problem: No Danish translations. Solution: Add Danish message translations. (closes https://github.com/vim/vim/issues/3073) Move list of languages to a common makefile.
author Christian Brabandt <cb@256bit.org>
date Sun, 24 Jun 2018 16:00:07 +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}\")