Mercurial > vim
view src/typemap @ 18096:609b351cb58f v8.1.2043
patch 8.1.2043: not sufficient testing for quoted numbers
Commit: https://github.com/vim/vim/commit/ea8dcf8346f488786023fd03ec1c013cda243040
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Sep 15 21:12:22 2019 +0200
patch 8.1.2043: not sufficient testing for quoted numbers
Problem: Not sufficient testing for quoted numbers.
Solution: Add a few more test cases.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 15 Sep 2019 21:15: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}\")