view src/typemap @ 11343:049857c9b1c4 v8.0.0557

patch 8.0.0557: GTK: using static gravities is not useful commit https://github.com/vim/vim/commit/59053e1d9f41f9afa16ac7e266ee825a2eb2dd59 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Apr 9 15:27:09 2017 +0200 patch 8.0.0557: GTK: using static gravities is not useful Problem: GTK: using static gravities is not useful. Solution: Remove setting static gravities. (Kazunobu Kuriyama)
author Christian Brabandt <cb@256bit.org>
date Sun, 09 Apr 2017 15:30:03 +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}\")