Mercurial > vim
view src/typemap @ 13728:603516b73349 v8.0.1736
patch 8.0.1736: check for C99 features is incomplete
commit https://github.com/vim/vim/commit/226400830b470774bf5a552e1af10706b609720c
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Apr 19 20:39:41 2018 +0200
patch 8.0.1736: check for C99 features is incomplete
Problem: Check for C99 features is incomplete.
Solution: Use AC_PROG_CC_C99 and when C99 isn't fully supported check the
features we need. (James McCoy, closes #2820)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 19 Apr 2018 20:45:06 +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}\")