view src/typemap @ 11138:003e7ade488f v8.0.0456

patch 8.0.0456: typo in MinGW test makefile commit https://github.com/vim/vim/commit/84be8b66604ef28c0e249284da3c6f0cab1c25ae Author: Bram Moolenaar <Bram@vim.org> Date: Mon Mar 13 22:41:42 2017 +0100 patch 8.0.0456: typo in MinGW test makefile Problem: Typo in MinGW test makefile. Solution: Change an underscore to a dot. (Michael Soyka)
author Christian Brabandt <cb@256bit.org>
date Mon, 13 Mar 2017 22:45:04 +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}\")