view src/typemap @ 14937:d36dd08d36c1 v8.1.0480

patch 8.1.0480: MinGW build file uses different -I flags than MVC commit https://github.com/vim/vim/commit/b361db077ffb9669147d3ff1cc0191154f7289e4 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Oct 16 21:13:14 2018 +0200 patch 8.1.0480: MinGW build file uses different -I flags than MVC Problem: MinGW build file uses different -I flags than MVC. Solution: Add -I to $CFLAGS. (Ken takata)
author Bram Moolenaar <Bram@vim.org>
date Tue, 16 Oct 2018 21:15: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}\")