Mercurial > vim
view src/typemap @ 24964:f4aa891a5ab8 v8.2.3019
patch 8.2.3019: location list only has the start position.
Commit: https://github.com/vim/vim/commit/6864efa59636ccede2af24e3f5f92d78d210d77b
Author: thinca <thinca@gmail.com>
Date: Sat Jun 19 20:45:20 2021 +0200
patch 8.2.3019: location list only has the start position.
Problem: Location list only has the start position.
Solution: Make it possible to add an end position. (Shane-XB-Qian,
closes #8393)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 19 Jun 2021 21: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}\")