view src/typemap @ 17255:765aa1380e93 v8.1.1627

patch 8.1.1627: header file contains mixed comment style commit https://github.com/vim/vim/commit/6cb39f924a10912a615573230e906e8089975198 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jul 4 16:05:14 2019 +0200 patch 8.1.1627: header file contains mixed comment style Problem: Header file contains mixed comment style. Solution: Use // style comments.
author Bram Moolenaar <Bram@vim.org>
date Thu, 04 Jul 2019 16:15:04 +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}\")