view src/typemap @ 9299:8000f0a44744 v7.4.1932

commit https://github.com/vim/vim/commit/ece74ab103eca15e17435efbe9cb21039787f1ea Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jun 13 22:22:15 2016 +0200 patch 7.4.1932 Problem: When writing viminfo the jumplist is not merged with the one in the viminfo file. Solution: Merge based on timestamp.
author Christian Brabandt <cb@256bit.org>
date Mon, 13 Jun 2016 22: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}\")