Mercurial > vim
view src/typemap @ 14437:ceb9b6bf0f4a v8.1.0232
patch 8.1.0232: Ruby error does not include backtrace
commit https://github.com/vim/vim/commit/f711cb2f12458d32e082c0e3d4103e2b072947c3
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Aug 1 18:42:13 2018 +0200
patch 8.1.0232: Ruby error does not include backtrace
Problem: Ruby error does not include backtrace.
Solution: Add an error backtrace. (Masataka Pocke Kuwabara, closes https://github.com/vim/vim/issues/3267)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 01 Aug 2018 18:45:05 +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}\")