Mercurial > vim
view src/typemap @ 15951:2c18aaf66e77 v8.1.0981
patch 8.1.0981: pasting in terminal insufficiently tested
commit https://github.com/vim/vim/commit/5b868a82ed2151201350122fcdb75b35c557c528
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Feb 25 06:11:53 2019 +0100
patch 8.1.0981: pasting in terminal insufficiently tested
Problem: Pasting in terminal insufficiently tested.
Solution: Add more tests. (Dominique Pelle, closes https://github.com/vim/vim/issues/4040)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 25 Feb 2019 06:15:05 +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}\")