Mercurial > vim
view src/typemap @ 10542:5c0a28604bd0 v8.0.0161
patch 8.0.0161: can't build with small features
commit https://github.com/vim/vim/commit/4d0504019cc744a5122821f187dd3adfe536afff
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jan 9 12:58:11 2017 +0100
patch 8.0.0161: can't build with small features
Problem: Build fails when using small features.
Solution: Update #ifdef for using save_ccline. (Hirohito Higashi)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 09 Jan 2017 13:00:05 +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}\")