Mercurial > vim
view src/typemap @ 26578:06693d1afc48
patch 8.2.3818: cannot filter or map characters in a string
Commit: https://github.com/vim/vim/commit/c479ce032f5d4d14bab9e479acbf42d758879893
Author: rbtnn <naru123456789@gmail.com>
Date: Wed Dec 15 19:14:54 2021 +0000
patch 8.2.3818: cannot filter or map characters in a string
Problem: Cannot filter or map characters in a string.
Solution: Make filter() and map() work on a string. (Naruhiko Nishino,
closes #9327)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 15 Dec 2021 20:15:03 +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}\")