Mercurial > vim
view src/typemap @ 19562:6b7719b8f9b9 v8.2.0338
patch 8.2.0338: build failure without the channel feature
Commit: https://github.com/vim/vim/commit/f4f190d8219fc93c6e58e54ce7c1ac15af07840f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 1 13:01:16 2020 +0100
patch 8.2.0338: build failure without the channel feature
Problem: Build failure without the channel feature.
Solution: Add #ifdef
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 01 Mar 2020 13:15:06 +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}\")