view src/typemap @ 14055:ac5265f7d1c7 v8.1.0045

patch 8.1.0045: popup test isn't run completely commit https://github.com/vim/vim/commit/ae0f30b761eb62e1b6bfc83fb4a6d1a47bf48320 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jun 12 15:22:43 2018 +0200 patch 8.1.0045: popup test isn't run completely Problem: Popup test isn't run completely. Solution: Remove "finish". Clean up function definitions.
author Christian Brabandt <cb@256bit.org>
date Tue, 12 Jun 2018 15:30: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}\")