Mercurial > vim
view src/typemap @ 9193:0378a3bdf0fe v7.4.1880
commit https://github.com/vim/vim/commit/76929af43134b4222b33648b6c53754a34f24524
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jun 2 20:26:41 2016 +0200
patch 7.4.1880
Problem: MS-Windows console build defaults to not having +channel.
Solution: Include the channel feature if building with huge features.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 02 Jun 2016 20:30:06 +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}\")