Mercurial > vim
view src/typemap @ 15812:3808b583889e v8.1.0913
patch 8.1.0913: CI crashes when running out of memory
commit https://github.com/vim/vim/commit/688b3983d8b321e0d32dd51914fa474a0988daf6
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Feb 13 21:47:36 2019 +0100
patch 8.1.0913: CI crashes when running out of memory
Problem: CI crashes when running out of memory.
Solution: Apply 'maxmempattern' also to new regexp engine.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 13 Feb 2019 22:00:07 +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}\")