view src/typemap @ 15733:d2f0154a44f5 v8.1.0874

patch 8.1.0874: using old style comments in new file commit https://github.com/vim/vim/commit/9c46efd7dc57c1a8eae5137d05c7e67c4f82c3d7 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Feb 4 20:30:18 2019 +0100 patch 8.1.0874: using old style comments in new file Problem: Using old style comments in new file. Solution: Convert to // comments in new file. (Yegappan Lakshmanan)
author Bram Moolenaar <Bram@vim.org>
date Mon, 04 Feb 2019 20:45:06 +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}\")