Mercurial > vim
view src/typemap @ 16295:b2ed528e85ef v8.1.1152
patch 8.1.1152: compiler warning with VS2019
commit https://github.com/vim/vim/commit/7edf0baef4e11df982bd37356a4e4d28ff046c86
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Apr 11 17:22:57 2019 +0200
patch 8.1.1152: compiler warning with VS2019
Problem: Compiler warning with VS2019.
Solution: Specify different offset for "AMD64". (closes https://github.com/vim/vim/issues/4235)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 11 Apr 2019 17:30: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}\")