view src/typemap @ 19546:71d0c4f5fcd9 v8.2.0330

patch 8.2.0330: build error with popup window but without terminal Commit: https://github.com/vim/vim/commit/57c732ed782607ce6a8c4f9eeb65b95a00e37701 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Feb 28 22:51:54 2020 +0100 patch 8.2.0330: build error with popup window but without terminal Problem: Build error with popup window but without terminal. Solution: Add #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Fri, 28 Feb 2020 23:00:03 +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}\")