Mercurial > vim
view src/typemap @ 31361:abb9d25924d8 v9.0.1014
patch 9.0.1014: zir files are not recognized
Commit: https://github.com/vim/vim/commit/25201016d5043954689a4c9f7833935294149404
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Dec 5 21:40:39 2022 +0000
patch 9.0.1014: zir files are not recognized
Problem: Zir files are not recognized.
Solution: Add a pattern for Zir files. (closes https://github.com/vim/vim/issues/11664)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 05 Dec 2022 22:45:03 +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}\")