Mercurial > vim
view src/typemap @ 25012:c2c2189a98c4 v8.2.3043
patch 8.2.3043: Amiga: cannot get the shell size on MorphOS and AROS
Commit: https://github.com/vim/vim/commit/d415d269130b233c0f198c75cc159bee721aa55c
Author: ola.soder@axis.com <ola.soder@axis.com>
Date: Wed Jun 23 22:05:27 2021 +0200
patch 8.2.3043: Amiga: cannot get the shell size on MorphOS and AROS
Problem: Amiga: cannot get the shell size on MorphOS and AROS.
Solution: Use control sequences. (Ola S?der, closes https://github.com/vim/vim/issues/8438)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 23 Jun 2021 22:15:03 +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}\")