view src/typemap @ 17379:27abe2b6a094 v8.1.1688

patch 8.1.1688: old makefiles are no longer useful commit https://github.com/vim/vim/commit/1850b14c0d338eb27fb32d0d6e0bfb6944c75c5a Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jul 14 15:09:59 2019 +0200 patch 8.1.1688: old makefiles are no longer useful Problem: Old makefiles are no longer useful. Solution: Delete the makefiles, they most likely don't work anyway.
author Bram Moolenaar <Bram@vim.org>
date Sun, 14 Jul 2019 15: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}\")