view src/typemap @ 20663:a72e3f26a361 v8.2.0885

patch 8.2.0885: "make shadow" does not link new lua test dir Commit: https://github.com/vim/vim/commit/3ac498c8a1c3570c296093a5d9425b2a3a7cdb29 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jun 2 20:25:36 2020 +0200 patch 8.2.0885: "make shadow" does not link new lua test dir Problem: "make shadow" does not link new lua test dir. Solution: Also link testdir/testluaplugin. (Elimar Riesebieter)
author Bram Moolenaar <Bram@vim.org>
date Tue, 02 Jun 2020 20: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}\")