view src/typemap @ 27698:3813036f19cb v8.2.4375

patch 8.2.4375: ctx_imports is not used Commit: https://github.com/vim/vim/commit/4b1d9639726ebe1630991488a1314db628b6b854 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Feb 13 21:51:08 2022 +0000 patch 8.2.4375: ctx_imports is not used Problem: ctx_imports is not used. Solution: Delete ctx_imports. Add missing dependency.
author Bram Moolenaar <Bram@vim.org>
date Sun, 13 Feb 2022 23:00:04 +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}\")