view src/typemap @ 13557:4911058c43eb v8.0.1652

patch 8.0.1652: term_dumpwrite() does not output composing characters commit https://github.com/vim/vim/commit/f06b0b6c8f85ea9c320f2be30b25ed084969c1e2 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Mar 29 17:22:24 2018 +0200 patch 8.0.1652: term_dumpwrite() does not output composing characters Problem: term_dumpwrite() does not output composing characters. Solution: Use the cell index.
author Christian Brabandt <cb@256bit.org>
date Thu, 29 Mar 2018 17:30:06 +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}\")