Mercurial > vim
view src/typemap @ 24725:3cdbce5ba73f v8.2.2901
patch 8.2.2901: some operators not fully tested
Commit: https://github.com/vim/vim/commit/3e72dcad8b752a42b6eaf71213e3f5d534175256
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat May 29 16:30:12 2021 +0200
patch 8.2.2901: some operators not fully tested
Problem: Some operators not fully tested.
Solution: Add a few test cases. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/8282)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 29 May 2021 16:45: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}\")