view src/typemap @ 16372:5900941b2e37 v8.1.1191

patch 8.1.1191: not all debug commands are covered by a test commit https://github.com/vim/vim/commit/0fdd94359511f295d93e488d60ca3b0d40ea1cfa Author: Bram Moolenaar <Bram@vim.org> Date: Sat Apr 20 22:28:48 2019 +0200 patch 8.1.1191: not all debug commands are covered by a test Problem: Not all debug commands are covered by a test. Solution: Add more tests. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/4282)
author Bram Moolenaar <Bram@vim.org>
date Sat, 20 Apr 2019 22:30:05 +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}\")