view src/typemap @ 19519:3e4c401a652f v8.2.0317

patch 8.2.0317: MSVC: _CRT_SECURE_NO_DEPRECATE not defined on DEBUG build Commit: https://github.com/vim/vim/commit/703ea9eaefd3628d75c8c2fa19f934f6832638f1 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Feb 25 22:04:55 2020 +0100 patch 8.2.0317: MSVC: _CRT_SECURE_NO_DEPRECATE not defined on DEBUG build Problem: MSVC: _CRT_SECURE_NO_DEPRECATE not defined on DEBUG build. Solution: Move where CFLAGS is updated. (Ken Takata, closes https://github.com/vim/vim/issues/5692)
author Bram Moolenaar <Bram@vim.org>
date Tue, 25 Feb 2020 22:15:04 +0100
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}\")