view src/typemap @ 16091:e8d8650fa625 v8.1.1050

patch 8.1.1050: blank srceen when DirectWrite failed commit https://github.com/vim/vim/commit/3dd174abbf2bf1bb4e42aa21ff78fb9b4f8b4679 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Mar 25 22:48:18 2019 +0100 patch 8.1.1050: blank srceen when DirectWrite failed Problem: Blank srceen when DirectWrite failed. Solution: Call redraw_later_clear() after recreating the Direct2D render target. (Ken Takata, closes #4172)
author Bram Moolenaar <Bram@vim.org>
date Mon, 25 Mar 2019 23:00:05 +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}\")