view src/typemap @ 32663:118a098718d8 v9.0.1663

patch 9.0.1663: Termdebug on MS-Windows: some file names are not recognized Commit: https://github.com/vim/vim/commit/c9a4a8ab28da2b11856a3f08ccba2e91f46b85c3 Author: Christian Brabandt <cb@256bit.org> Date: Sat Jun 24 20:02:25 2023 +0100 patch 9.0.1663: Termdebug on MS-Windows: some file names are not recognized Problem: Termdebug on MS-Windows: some file names are not recognized. Solution: Do not always change \t and \n. (Christian Brabandt, closes #12565, closes #12560, closes #12550)
author Bram Moolenaar <Bram@vim.org>
date Sat, 24 Jun 2023 21:15:03 +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}\")