view src/typemap @ 24782:8e5f75fa4918 v8.2.2929

patch 8.2.2929: accidentally enable tcl by default Commit: https://github.com/vim/vim/commit/0a808598e4edb3f1a167ac8c5c1f9084af625c4d Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jun 2 19:22:45 2021 +0200 patch 8.2.2929: accidentally enable tcl by default Problem: Accidentally enable tcl by default. Solution: Revert change to Makefile
author Bram Moolenaar <Bram@vim.org>
date Wed, 02 Jun 2021 19:30: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}\")