Mercurial > vim
view src/typemap @ 24365:f2bd92589670 v8.2.2723
patch 8.2.2723: assignment test fails
Commit: https://github.com/vim/vim/commit/58fb7c39a04aabfa399ae4f2142ee0728bc22483
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Apr 5 20:59:41 2021 +0200
patch 8.2.2723: assignment test fails
Problem: Assignment test fails.
Solution: Adjust error number.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 05 Apr 2021 21:00:05 +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}\")