view src/typemap @ 14333:65ded7626193 v8.1.0182

patch 8.1.0182: Unicode standard was updated commit https://github.com/vim/vim/commit/4fc85003c5f53d6ceb3dbea4b8fae5681615a20c Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jul 14 19:30:36 2018 +0200 patch 8.1.0182: Unicode standard was updated Problem: Unicode standard was updated. Solution: Include the changes. (Christian Brabandt)
author Christian Brabandt <cb@256bit.org>
date Sat, 14 Jul 2018 19:45: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}\")