Mercurial > vim
view src/typemap @ 14360:e91659ae6614 v8.1.0195
patch 8.1.0195: terminal debugger commands don't always work
commit https://github.com/vim/vim/commit/963c1ad5d072346d9e95d4c3be066b5e03c601d3
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jul 19 02:55:01 2018 +0200
patch 8.1.0195: terminal debugger commands don't always work
Problem: Terminal debugger commands don't always work. (Dominique Pelle)
Solution: Set 'cpo' to its default value when defining commands. (Christian
Brabandt)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 19 Jul 2018 03:00: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}\")