view src/typemap @ 7410:08e62c4fc17d v7.4.1009

commit https://github.com/vim/vim/commit/53076830fea6df737455523f7e235bfe4f79864d Author: Bram Moolenaar <Bram@vim.org> Date: Thu Dec 31 19:53:21 2015 +0100 patch 7.4.1009 Problem: There are still #ifdefs for ARCHIE. Solution: Remove references to ARCHIE, the code was removed in Vim 5.
author Christian Brabandt <cb@256bit.org>
date Thu, 31 Dec 2015 20: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}\")