Mercurial > vim
view src/typemap @ 29167:420f84328526 v8.2.5103
patch 8.2.5103: build fails with small features
Commit: https://github.com/vim/vim/commit/34f99584c73f91bcc8ca5236557a2a09335e1e43
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jun 15 21:08:09 2022 +0100
patch 8.2.5103: build fails with small features
Problem: Build fails with small features.
Solution: Add #ifdef. Skip test on MS-Windows.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 15 Jun 2022 22:15: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}\")