view src/typemap @ 20343:220312b278a9 v8.2.0727

patch 8.2.0727: MS-Windows: new gcc compiler does not support scanf format Commit: https://github.com/vim/vim/commit/d695ba732de915fc227c1069a7a4e1d5049601bd Author: Bram Moolenaar <Bram@vim.org> Date: Sun May 10 13:42:43 2020 +0200 patch 8.2.0727: MS-Windows: new gcc compiler does not support scanf format Problem: MS-Windows: new gcc compiler does not support scanf format. Solution: Use "%ll" instead of "%I". (Ken Takata)
author Bram Moolenaar <Bram@vim.org>
date Sun, 10 May 2020 13:45: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}\")