Mercurial > vim
view src/typemap @ 11776:562fa0b252c5 v8.0.0770
patch 8.0.0770: compiler warning for missing field initializer
commit https://github.com/vim/vim/commit/86067eb05ef01ff4acea9b006506b2b4abd3a3eb
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jul 24 23:05:35 2017 +0200
patch 8.0.0770: compiler warning for missing field initializer
Problem: Compiler warning for missing field initializer.
Solution: Add two more values. (Yegappan Lakshmanan)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 24 Jul 2017 23:15: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}\")