view src/typemap @ 22286:cb883c225368 v8.2.1692

patch 8.2.1692: build fails because TTFLAG_STATIC is missing Commit: https://github.com/vim/vim/commit/fb489af2ec1b181d212a8aa8151d7784b260d01b Author: Bram Moolenaar <Bram@vim.org> Date: Wed Sep 16 15:41:09 2020 +0200 patch 8.2.1692: build fails because TTFLAG_STATIC is missing Problem: Build fails because TTFLAG_STATIC is missing. Solution: Include missing change.
author Bram Moolenaar <Bram@vim.org>
date Wed, 16 Sep 2020 15:45: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}\")