Mercurial > vim
view src/typemap @ 13450:a7a88403ccb1 v8.0.1599
patch 8.0.1599: no error message when gdb does not support debugger
commit https://github.com/vim/vim/commit/3e4b84d0b55936ac017d20df6651ddd05e38f58f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 11 20:51:52 2018 +0100
patch 8.0.1599: no error message when gdb does not support debugger
Problem: No error message when gdb does not support the terminal debugger.
Solution: Check for the response to open the Machine Interface.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 11 Mar 2018 21:00:08 +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}\")