Mercurial > vim
view src/typemap @ 11929:3457728d1a58 v8.0.0844
patch 8.0.0844: wrong function prototype because of missing static
commit https://github.com/vim/vim/commit/e0ab979fa7404592eaf4180e6d7d3af4c7787e8f
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Aug 2 23:18:25 2017 +0200
patch 8.0.0844: wrong function prototype because of missing static
Problem: Wrong function prototype because of missing static.
Solution: Add "static".
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 02 Aug 2017 23: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}\")