view src/typemap @ 14183:20dbc221dd3c v8.1.0109

patch 8.1.0109: new po makefile missing from distribution commit https://github.com/vim/vim/commit/7cb6eecd32b0b51bd0a25df968386d0b09379afa Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jun 24 15:56:24 2018 +0200 patch 8.1.0109: new po makefile missing from distribution Problem: New po makefile missing from distribution. Solution: Add it to the file list.
author Christian Brabandt <cb@256bit.org>
date Sun, 24 Jun 2018 16:00:08 +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}\")